diff options
| author | Dmitry Torokhov <dtor_core@ameritech.net> | 2003-12-18 05:32:03 -0800 |
|---|---|---|
| committer | Dmitry Torokhov <dtor_core@ameritech.net> | 2003-12-18 05:32:03 -0800 |
| commit | 35028d967da501b22a56ec1539805627b7fe05a9 (patch) | |
| tree | 8fa2c50b8d7b57eb12d6a24dc2d2ec9eea7ebd70 /include/linux | |
| parent | 94b49086bcdff836f86cb0dabc30a018af10672e (diff) | |
[PATCH] Add black list to handler<->device matching
Input: Introduce an optional blacklist field in input_handler structure.
When loading a new device or a new handler try to match device
against handler's black list before doing match on required
attributes.
This allows to get rid of "surprises" in connect functions, IMO
connect should only fail when it physically can not connect, not
because it decides it does not like device.
Diffstat (limited to 'include/linux')
| -rw-r--r-- | include/linux/input.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/input.h b/include/linux/input.h index 189476217b5c..eff36f445c25 100644 --- a/include/linux/input.h +++ b/include/linux/input.h @@ -870,6 +870,7 @@ struct input_handler { char *name; struct input_device_id *id_table; + struct input_device_id *blacklist; struct list_head h_list; struct list_head node; |
