}\r
#ifdef CONFIG_HAS_EARLYSUSPEND\r
\r
-static int ft5306_suspend(struct early_suspend *h)\r
+static void ft5306_suspend(struct early_suspend *h)\r
{\r
struct ft5x0x_ts_data *ft5x0x_ts;\r
char buf_w[1] = {3};\r
if (err>0)\r
printk("ft5306_set_regs OK!!\n");\r
disable_irq(ft5x0x_ts->irq);\r
- return 0;\r
}\r
\r
\r
-static int ft5306_resume(struct early_suspend *h)\r
+static void ft5306_resume(struct early_suspend *h)\r
{\r
struct ft5x0x_ts_data *ft5x0x_ts; \r
int trytimes;\r
//gpio_set_value(TOUCH_RESET_PIN,GPIO_LOW);\r
//mdelay(100);\r
//gpio_set_value(TOUCH_RESET_PIN,GPIO_HIGH);\r
- return 0;\r
}\r
#endif\r
\r
int retry = 0;\r
u8 buf_w[1];\r
u8 buf_r[1];\r
- const u8 buf_test[1] = {0};\r
+ u8 buf_test[1] = {0};\r
unsigned char reg_value;\r
unsigned char reg_version;\r
\r