touchscreen ctp_it7250: use irq pin define in board_raho.c
authorlyx <lyx@rock-chips.com>
Wed, 25 Aug 2010 02:28:13 +0000 (19:28 -0700)
committerlyx <lyx@rock-chips.com>
Wed, 25 Aug 2010 02:28:13 +0000 (19:28 -0700)
drivers/input/touchscreen/ctp_it7250.c [changed mode: 0644->0755]

old mode 100644 (file)
new mode 100755 (executable)
index cc979aa..5d10944
@@ -37,8 +37,6 @@ struct Ctp_it7250_data {
 };\r
 static struct i2c_client *Ctp_it7250_client;\r
 \r
-#define Ctp_it7250_GPIO_INT     RK2818_PIN_PE1\r
-\r
 #if 0\r
 #define rk28printk(x...) printk(x)\r
 #else\r
@@ -806,7 +804,7 @@ static void  Ctp_it7250_delaywork_func(struct work_struct  *work)
 //     rk28printk("%s++++ %d \r\n",__FUNCTION__,__LINE__);\r
 \r
 \r
-       PE1status =  gpio_get_value(Ctp_it7250_GPIO_INT);\r
+       PE1status =  gpio_get_value(Ctp_it7250->client->irq);\r
        //  PE1status ÎªµÍ£¬±íʾµÍµçƽÖжÏÓÐЧ \r
        if (!PE1status)\r
                {\r