diff options
author | 2024-11-24 17:05:27 -0800 | |
---|---|---|
committer | 2024-11-24 17:05:27 -0800 | |
commit | 0201710ba6308a61f1a775c418fe74b8a31ace08 (patch) | |
tree | 4ba8de26ade82869bce1014f1ab19207ec070548 /include/linux/input.h | |
parent | Input: cs40l50 - fix wrong usage of INIT_WORK() (diff) | |
parent | Input: mpr121 - use devm_regulator_get_enable_read_voltage() (diff) | |
download | wireguard-linux-0201710ba6308a61f1a775c418fe74b8a31ace08.tar.xz wireguard-linux-0201710ba6308a61f1a775c418fe74b8a31ace08.zip |
Merge branch 'next' into for-linus
Prepare input updates for 6.13 merge window.
Diffstat (limited to 'include/linux/input.h')
-rw-r--r-- | include/linux/input.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/include/linux/input.h b/include/linux/input.h index cd866b020a01..7d7cb0593a63 100644 --- a/include/linux/input.h +++ b/include/linux/input.h @@ -286,6 +286,10 @@ struct input_handle; * @start: starts handler for given handle. This function is called by * input core right after connect() method and also when a process * that "grabbed" a device releases it + * @passive_observer: set to %true by drivers only interested in observing + * data stream from devices if there are other users present. Such + * drivers will not result in starting underlying hardware device + * when input_open_device() is called for their handles * @legacy_minors: set to %true by drivers using legacy minor ranges * @minor: beginning of range of 32 legacy minors for devices this driver * can provide @@ -321,6 +325,7 @@ struct input_handler { void (*disconnect)(struct input_handle *handle); void (*start)(struct input_handle *handle); + bool passive_observer; bool legacy_minors; int minor; const char *name; |