History

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.

Dmitry Torokhov committed 9 years ago

Commit 55dfce81 parent 9b5db7a2 files · +41 −45Browse files

Showing the changes to include/linux (1 of 2 files). Show all

Unified · Split

include/linux/input.h+3−0
@@ -469,6 +469,9 @@ int input_get_keycode(struct input_dev *dev, struct input_keymap_entry *ke); · 468 unmodified lines
469int input_set_keycode(struct input_dev *dev,469int input_set_keycode(struct input_dev *dev,
470 const struct input_keymap_entry *ke);470 const struct input_keymap_entry *ke);
471 471
472bool input_match_device_id(const struct input_dev *dev,
473 const struct input_device_id *id);
474
472void input_enable_softrepeat(struct input_dev *dev, int delay, int period);475void input_enable_softrepeat(struct input_dev *dev, int delay, int period);
473 476
474extern struct class input_class;477extern struct class input_class;