From de416041311c2e1b331c515bfdfcb27109ceffaf Mon Sep 17 00:00:00 2001 From: lyx Date: Tue, 24 Aug 2010 19:28:13 -0700 Subject: [PATCH] touchscreen ctp_it7250: use irq pin define in board_raho.c --- drivers/input/touchscreen/ctp_it7250.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) mode change 100644 => 100755 drivers/input/touchscreen/ctp_it7250.c diff --git a/drivers/input/touchscreen/ctp_it7250.c b/drivers/input/touchscreen/ctp_it7250.c old mode 100644 new mode 100755 index cc979aa319e6..5d1094454427 --- a/drivers/input/touchscreen/ctp_it7250.c +++ b/drivers/input/touchscreen/ctp_it7250.c @@ -37,8 +37,6 @@ struct Ctp_it7250_data { }; static struct i2c_client *Ctp_it7250_client; -#define Ctp_it7250_GPIO_INT RK2818_PIN_PE1 - #if 0 #define rk28printk(x...) printk(x) #else @@ -806,7 +804,7 @@ static void Ctp_it7250_delaywork_func(struct work_struct *work) // rk28printk("%s++++ %d \r\n",__FUNCTION__,__LINE__); - PE1status = gpio_get_value(Ctp_it7250_GPIO_INT); + PE1status = gpio_get_value(Ctp_it7250->client->irq); // PE1status ΪµÍ£¬±íʾµÍµçƽÖжÏÓÐЧ if (!PE1status) { -- 2.34.1