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.
Showing the changes to include/linux (1 of 2 files). Show all
Unified · Split
| @@ -469,6 +469,9 @@ int input_get_keycode(struct input_dev *dev, struct input_keymap_entry *ke); · 468 unmodified lines | |||
| 469 | int input_set_keycode(struct input_dev *dev, | 469 | int input_set_keycode(struct input_dev *dev, |
| 470 | const struct input_keymap_entry *ke); | 470 | const struct input_keymap_entry *ke); |
| 471 | 471 | ||
| 472 | bool input_match_device_id(const struct input_dev *dev, | ||
| 473 | const struct input_device_id *id); | ||
| 474 | |||
| 472 | void input_enable_softrepeat(struct input_dev *dev, int delay, int period); | 475 | void input_enable_softrepeat(struct input_dev *dev, int delay, int period); |
| 473 | 476 | ||
| 474 | extern struct class input_class; | 477 | extern struct class input_class; |