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)
committerArnd Bergmann <arnd@arndb.de>
Thu, 9 Aug 2012 13:16:41 +0000 (15:16 +0200)
commit59ee93a528b94ef4e81a08db252b0326feff171f
tree33ce49f8da61db28119b5fc8d54f6f7a70a0e98f
parent798bd59ce94c8218332996e650ded48ded039fe1
ARM: pxa: remove irq_to_gpio from ezx-pcap driver

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: stable@vger.kernel.org (v3.2+)
Cc: Samuel Ortiz <sameo@linux.intel.com>
Cc: Daniel Ribeiro <drwyrm@gmail.com>
drivers/mfd/ezx-pcap.c
include/linux/mfd/ezx-pcap.h