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
469469 int input_set_keycode(struct input_dev *dev,
470470 const struct input_keymap_entry *ke);
471471
472+bool input_match_device_id(const struct input_dev *dev,
473+ const struct input_device_id *id);
474+
472475 void input_enable_softrepeat(struct input_dev *dev, int delay, int period);
473476
474477 extern struct class input_class;