From 305de75f891020d160170d82a53d7a22c9c8cbbe Mon Sep 17 00:00:00 2001 From: Axel Lin Date: Mon, 5 Dec 2011 19:13:12 +0800 Subject: [PATCH] --- yaml --- r: 281844 b: refs/heads/master c: b5d798cc7a221aec50baf496c482280f1b809143 h: refs/heads/master v: v3 --- [refs] | 2 +- trunk/drivers/input/touchscreen/zylonite-wm97xx.c | 5 +++-- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/[refs] b/[refs] index 171ebe13c416..355d6197c04e 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: 34641de2ef118b9c78a842fb75e6d3cc49c1de31 +refs/heads/master: b5d798cc7a221aec50baf496c482280f1b809143 diff --git a/trunk/drivers/input/touchscreen/zylonite-wm97xx.c b/trunk/drivers/input/touchscreen/zylonite-wm97xx.c index f6328c0cded6..0a707bbbbea6 100644 --- a/trunk/drivers/input/touchscreen/zylonite-wm97xx.c +++ b/trunk/drivers/input/touchscreen/zylonite-wm97xx.c @@ -22,6 +22,7 @@ #include #include #include +#include #include #include #include @@ -192,8 +193,8 @@ static int zylonite_wm97xx_probe(struct platform_device *pdev) else gpio_touch_irq = mfp_to_gpio(MFP_PIN_GPIO26); - wm->pen_irq = IRQ_GPIO(gpio_touch_irq); - irq_set_irq_type(IRQ_GPIO(gpio_touch_irq), IRQ_TYPE_EDGE_BOTH); + wm->pen_irq = gpio_to_irq(gpio_touch_irq); + irq_set_irq_type(wm->pen_irq, IRQ_TYPE_EDGE_BOTH); wm97xx_config_gpio(wm, WM97XX_GPIO_13, WM97XX_GPIO_IN, WM97XX_GPIO_POL_HIGH,