Thread (25 messages) flat view 25 messages, 9 authors, 2012-08-13

[PATCH 1/6] ARM: pxa: remove irq_to_gpio from ezx-pcap driver

From: haojian.zhuang@gmail.com (Haojian Zhuang)
Date: 2012-08-08 15:27:37
Also in: lkml

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.

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>
Cc: stable at vger.kernel.org (v3.2+)
Cc: Samuel Ortiz <redacted>
Cc: Daniel Ribeiro <redacted>
Cc: Haojian Zhuang <haojian.zhuang@gmail.com>
---
 drivers/mfd/ezx-pcap.c       |    2 +-
 include/linux/mfd/ezx-pcap.h |    1 +
 2 files changed, 2 insertions(+), 1 deletion(-)
Acked-by: Haojian Zhuang <haojian.zhuang@gmail.com>
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help