diff options
| author | Dmitry Torokhov <dmitry.torokhov@gmail.com> | 2015-07-06 18:18:24 -0400 |
|---|---|---|
| committer | Dmitry Torokhov <dmitry.torokhov@gmail.com> | 2015-07-11 20:26:45 -0400 |
| commit | 4200e831e4a8fd09fa4e78de2e571ab270c12d06 (patch) | |
| tree | da07c4aee66dccb1613b86930637436070167f4c /include/linux/input | |
| parent | 517178692ccd730a95b278bd8cd67e11498a9a84 (diff) | |
Input: of_touchscreen - switch to using device properties
Let's switch form OF to device properties so that common parsing code could
work not only on device tree but also on ACPI-based platforms.
Reviewed-by: Roger Quadros <rogerq@ti.com>
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Diffstat (limited to 'include/linux/input')
| -rw-r--r-- | include/linux/input/touchscreen.h | 11 |
1 files changed, 2 insertions, 9 deletions
diff --git a/include/linux/input/touchscreen.h b/include/linux/input/touchscreen.h index eecc9ea6cd58..c91e1376132b 100644 --- a/include/linux/input/touchscreen.h +++ b/include/linux/input/touchscreen.h | |||
| @@ -9,15 +9,8 @@ | |||
| 9 | #ifndef _TOUCHSCREEN_H | 9 | #ifndef _TOUCHSCREEN_H |
| 10 | #define _TOUCHSCREEN_H | 10 | #define _TOUCHSCREEN_H |
| 11 | 11 | ||
| 12 | #include <linux/input.h> | 12 | struct input_dev; |
| 13 | 13 | ||
| 14 | #ifdef CONFIG_OF | 14 | void touchscreen_parse_properties(struct input_dev *dev, bool multitouch); |
| 15 | void touchscreen_parse_of_params(struct input_dev *dev, bool multitouch); | ||
| 16 | #else | ||
| 17 | static inline void touchscreen_parse_of_params(struct input_dev *dev, | ||
| 18 | bool multitouch) | ||
| 19 | { | ||
| 20 | } | ||
| 21 | #endif | ||
| 22 | 15 | ||
| 23 | #endif | 16 | #endif |
