mirror of
https://gitee.com/bianbu-linux/linux-6.6
synced 2025-04-26 14:17:26 -04:00
Input: factor out and export input_device_id matching code
Factor out and export input_match_device_id() so that modules may use it. It will be needed by joydev to blacklist accelerometers in composite devices. Tested-by: Roderick Colenbrander <roderick.colenbrander@sony.com> Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
This commit is contained in:
parent
9b5db7aab4
commit
55dfce873d
2 changed files with 41 additions and 45 deletions
|
@ -469,6 +469,9 @@ int input_get_keycode(struct input_dev *dev, struct input_keymap_entry *ke);
|
|||
int input_set_keycode(struct input_dev *dev,
|
||||
const struct input_keymap_entry *ke);
|
||||
|
||||
bool input_match_device_id(const struct input_dev *dev,
|
||||
const struct input_device_id *id);
|
||||
|
||||
void input_enable_softrepeat(struct input_dev *dev, int delay, int period);
|
||||
|
||||
extern struct class input_class;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue