Input: of_touchscreen - switch to using device properties
[firefly-linux-kernel-4.4.55.git] / include / linux / input / touchscreen.h
index 08a5ef6e8f25a485f0af16b35e3ba1d066ccc6d2..c91e1376132b6b64309366697b31556f8a412685 100644 (file)
@@ -9,14 +9,8 @@
 #ifndef _TOUCHSCREEN_H
 #define _TOUCHSCREEN_H
 
-#include <linux/input.h>
+struct input_dev;
 
-#ifdef CONFIG_OF
-void touchscreen_parse_of_params(struct input_dev *dev);
-#else
-static inline void touchscreen_parse_of_params(struct input_dev *dev)
-{
-}
-#endif
+void touchscreen_parse_properties(struct input_dev *dev, bool multitouch);
 
 #endif