\r
\r
\r
-static void rk_ts_early_suspend(struct tp_device *tp_d)\r
+static int rk_ts_early_suspend(struct tp_device *tp_d)\r
{\r
struct rk_ts_data *ts;\r
ts = container_of(tp_d, struct rk_ts_data, tp);\r
rk_ts_suspend(ts->client, PMSG_SUSPEND);\r
+ return 0;\r
}\r
\r
-static void rk_ts_early_resume(struct tp_device *tp_d)\r
+static int rk_ts_early_resume(struct tp_device *tp_d)\r
{\r
struct rk_ts_data *ts;\r
ts = container_of(tp_d, struct rk_ts_data, tp);\r
rk_ts_resume(ts->client);\r
+ return 0;\r
}\r
\r
\r
static const char *rk_ts_name = "Goodix Capacitive TouchScreen";
struct i2c_client * i2c_connect_client = NULL;
+#ifdef CONFIG_TOUCHSCREEN_GOODIX_IAP
static struct proc_dir_entry *goodix_proc_entry;
+#endif
//static struct kobject *goodix_debug_kobj;