input: touchscreen: move board shared data structure to linux/platform_data
Peter Zu [Thu, 26 Jan 2012 04:17:53 +0000 (20:17 -0800)]
Reviewed-on: http://git-master/r/77504

Change-Id: Iafe31126fbcec1bfd01b51e0c122b44d3a71bbda
Signed-off-by: Peter Zu <pzu@nvidia.com>
Signed-off-by: Varun Wadekar <vwadekar@nvidia.com>
Reviewed-on: http://git-master/r/77759
Reviewed-by: Automatic_Commit_Validation_User

drivers/input/touchscreen/rm31080a_ts.h
include/linux/platform_data/rm31080a_ts.h [new file with mode: 0644]

index fb4c009..6d3f8d3 100644 (file)
@@ -1,6 +1,8 @@
 #ifndef _RM31080A_TS_H_
 #define _RM31080A_TS_H_
 
+#include <linux/platform_data/rm31080a_ts.h>
+
 #define ENABLE_RAW_DATA_QUEUE
 
 #define RM_IOCTL_REPORT_POINT    0x1001
@@ -35,8 +37,4 @@ typedef struct
     unsigned short usZ[RM_TS_MAX_POINTS];
 }rm_touch_event;
 
-struct rm_spi_ts_platform_data{
-       int gpio_reset;
-};
-
 #endif //_RM31080A_TS_H_
diff --git a/include/linux/platform_data/rm31080a_ts.h b/include/linux/platform_data/rm31080a_ts.h
new file mode 100644 (file)
index 0000000..1aba146
--- /dev/null
@@ -0,0 +1,8 @@
+#ifndef _PLATFORM_DATA_RM31080A_TS_H_
+#define _PLATFORM_DATA_RM31080A_TS_H_
+
+struct rm_spi_ts_platform_data {
+       int gpio_reset;
+};
+
+#endif /*_PLATFORM_DATA_RM31080A_TS_H_*/