[PATCH 2/6] ARM: pxa remove irq_to_gpio from eeti_ts driver

From
Haojian Zhuang <haojian.zhuang@gmail.com>
Date
2012-08-08 15:24:44
Also in
lkml
Reply to
Arnd Bergmann, 2012-08-08
On Wed, Aug 8, 2012 at 8:54 PM, Arnd Bergmann [off-list ref] wrote:
The irq_to_gpio function was removed from the pxa platform
in linux-3.2, and this driver has been broken since.

Without this patch, building raumfeld_defconfig results in:

drivers/input/touchscreen/eeti_ts.c: In function 'eeti_ts_irq_active':
drivers/input/touchscreen/eeti_ts.c:65:2: error: implicit declaration of function 'irq_to_gpio' [-Werror=implicit-function-declaration]

Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Cc: stable at vger.kernel.org (v3.2+)
Cc: Daniel Mack <zonque@gmail.com>
Cc: Haojian Zhuang <haojian.zhuang@gmail.com>
---
 arch/arm/mach-pxa/raumfeld.c        |    1 +
 drivers/input/touchscreen/eeti_ts.c |    8 +++++---
 include/linux/input/eeti_ts.h       |    1 +
 3 files changed, 7 insertions(+), 3 deletions(-)
Acked-by: Haojian Zhuang <haojian.zhuang@gmail.com>
Thread (25 messages) 25 messages, 9 authors, last reply 2012-08-13
Keyboard shortcuts
hback out one level
jnext message in thread / next series-diff position
kprevious message in thread / previous series-diff position
ldrill in
Escclose help / fold thread tree
?toggle this help