]> git.karo-electronics.de Git - karo-tx-linux.git/commit
ARM: pxa: remove irq_to_gpio from ezx-pcap driver
authorArnd Bergmann <arnd@arndb.de>
Sun, 5 Aug 2012 14:58:37 +0000 (14:58 +0000)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 15 Aug 2012 19:04:30 +0000 (12:04 -0700)
commit9f75ebd871f7f0a613fdb4e1231fbd540916872c
tree15f5dc0af9ad74ef87b20859462a7f1be998dfd1
parentc75f1f090ef88416c6e299b6cb07edcabe11575b
ARM: pxa: remove irq_to_gpio from ezx-pcap driver

commit 59ee93a528b94ef4e81a08db252b0326feff171f upstream.

The irq_to_gpio function was removed from the pxa platform
in linux-3.2, and this driver has been broken since.

There is actually no in-tree user of this driver that adds
this platform device, but the driver can and does get enabled
on some platforms.

Without this patch, building ezx_defconfig results in:

drivers/mfd/ezx-pcap.c: In function 'pcap_isr_work':
drivers/mfd/ezx-pcap.c:205:2: error: implicit declaration of function 'irq_to_gpio' [-Werror=implicit-function-declaration]

Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Acked-by: Haojian Zhuang <haojian.zhuang@gmail.com>
Cc: Samuel Ortiz <sameo@linux.intel.com>
Cc: Daniel Ribeiro <drwyrm@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/mfd/ezx-pcap.c
include/linux/mfd/ezx-pcap.h