From: lyx Date: Wed, 25 Aug 2010 02:28:13 +0000 (-0700) Subject: touchscreen ctp_it7250: use irq pin define in board_raho.c X-Git-Tag: firefly_0821_release~11234 X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=de416041311c2e1b331c515bfdfcb27109ceffaf;p=firefly-linux-kernel-4.4.55.git touchscreen ctp_it7250: use irq pin define in board_raho.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) {