Input: of_touchscreen - switch to using device properties
[firefly-linux-kernel-4.4.55.git] / include / linux / input / touchscreen.h
index eecc9ea6cd58716f7e4d2597f4f5699ad818d546..c91e1376132b6b64309366697b31556f8a412685 100644 (file)
@@ -9,15 +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, bool multitouch);
-#else
-static inline void touchscreen_parse_of_params(struct input_dev *dev,
-                                              bool multitouch)
-{
-}
-#endif
+void touchscreen_parse_properties(struct input_dev *dev, bool multitouch);
 
 #endif