1
0
Fork 0
mirror of https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git synced 2025-01-23 08:35:19 -05:00
linux/arch/arm/mach-pxa
Dmitry Torokhov dead06c5e1
ARM: pxa: fix build breakage on PXA3xx
Commit 917195d6f8 ("ARM: pxa: consolidate GPIO chip platform data")
tried to reuse the same instance of platform data for PXA25x and PXA27x
GPIO controllers by moving it into arch/arm/mach-pxa/devices.c
Unfortunately this file is built for other PXA variants which resulted
in the following error:

>> arm-linux-gnueabi-ld: arch/arm/mach-pxa/devices.o:(.data+0x167c): undefined reference to `gpio_set_wake'

Fix this by using #ifdef around PXA25x and PXA27x GPIO controller device
structures and associated data.

Reported-by: kernel test robot <lkp@intel.com>
Closes: https://lore.kernel.org/oe-kbuild-all/202407112039.cyyIQ3Js-lkp@intel.com/
Fixes: 917195d6f8 ("ARM: pxa: consolidate GPIO chip platform data")
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
2024-07-15 13:53:28 +02:00
..
addr-map.h
am200epd.c
am300epd.c
devices.c ARM: pxa: fix build breakage on PXA3xx 2024-07-15 13:53:28 +02:00
devices.h ARM: spitz: Use software nodes to describe MMC GPIOs 2024-07-09 15:21:15 +02:00
generic.c
generic.h
gumstix.c ARM: spitz: Use software nodes to describe MMC GPIOs 2024-07-09 15:21:15 +02:00
gumstix.h
irq.c
irqs.h
Kconfig
Makefile
mfp-pxa2xx.c
mfp-pxa2xx.h
mfp-pxa3xx.c
mfp-pxa3xx.h
mfp-pxa25x.h
mfp-pxa27x.h
mfp-pxa300.h
mfp-pxa320.h
mfp.h
pm.c
pm.h
pxa-dt.c
pxa-regs.h
pxa2xx-regs.h
pxa2xx.c
pxa3xx-regs.h
pxa3xx.c
pxa3xx.h
pxa25x.c ARM: pxa/gumstix: convert vbus gpio to use software nodes 2024-07-09 15:21:15 +02:00
pxa25x.h
pxa27x-udc.h
pxa27x.c ARM: spitz: Use software nodes to describe SPI CS lines 2024-07-09 15:21:15 +02:00
pxa27x.h
pxa300.c
pxa300.h
pxa320.c
pxa320.h
regs-ost.h
regs-rtc.h
reset.c
reset.h
sharpsl_pm.c
sharpsl_pm.h
sleep.S
smemc.c
smemc.h
spitz.c ARM: spitz: Use software nodes for the ADS7846 touchscreen 2024-07-09 15:21:16 +02:00
spitz.h
spitz_pm.c
standby.S
udc.h