History

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]

Arnd Bergmann committed 14 years ago

Commit 59ee93a1 parent 798bd592 files · +2 −1Browse files

Showing the changes to include/linux (1 of 2 files). Show all

Unified · Split

include/linux/mfd/ezx-pcap.h+1−0
@@ -16,6 +16,7 @@ struct pcap_subdev { · 15 unmodified lines
16struct pcap_platform_data {16struct pcap_platform_data {
17 unsigned int irq_base;17 unsigned int irq_base;
18 unsigned int config;18 unsigned int config;
19 int gpio;
19 void (*init) (void *); /* board specific init */20 void (*init) (void *); /* board specific init */
20 int num_subdevs;21 int num_subdevs;
21 struct pcap_subdev *subdevs;22 struct pcap_subdev *subdevs;