Dmitry Torokhov | e95656e | 2017-04-18 17:28:30 -0700 | [diff] [blame] | 1 | /* SPDX-License-Identifier: GPL-2.0-only */ |
| 2 | #ifndef _INPUT_POLLER_H |
| 3 | #define _INPUT_POLLER_H |
| 4 | |
| 5 | /* |
| 6 | * Support for polling mode for input devices. |
| 7 | */ |
| 8 | #include <linux/sysfs.h> |
| 9 | |
| 10 | struct input_dev_poller; |
| 11 | |
| 12 | void input_dev_poller_finalize(struct input_dev_poller *poller); |
| 13 | void input_dev_poller_start(struct input_dev_poller *poller); |
| 14 | void input_dev_poller_stop(struct input_dev_poller *poller); |
| 15 | |
| 16 | extern struct attribute_group input_poller_attribute_group; |
| 17 | |
| 18 | #endif /* _INPUT_POLLER_H */ |