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 ARM: pxa: make addr-map.h header local 2022-04-19 21:34:06 +02:00
am200epd.c fbcon: call fbcon_fb_(un)registered directly 2019-06-12 20:27:45 +02:00
am300epd.c ARM: pxa: move mach/*.h to mach-pxa/ 2022-05-07 22:56:17 +02:00
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 ARM: pxa: move mach/*.h to mach-pxa/ 2022-05-07 22:56:17 +02:00
generic.h ARM: pxa: fix missing-prototypes warnings 2023-05-26 13:33:05 +02:00
gumstix.c ARM: spitz: Use software nodes to describe MMC GPIOs 2024-07-09 15:21:15 +02:00
gumstix.h ARM: pxa: move mach/*.h to mach-pxa/ 2022-05-07 22:56:17 +02:00
irq.c ARM: pxa: Use of_property_read_bool() for boolean properties 2023-04-14 14:58:41 +02:00
irqs.h ARM: pxa: move mach/*.h to mach-pxa/ 2022-05-07 22:56:17 +02:00
Kconfig ARM: pxa: remove unused pxa3xx-ulpi 2023-01-20 11:24:04 +01:00
Makefile ARM: pxa: remove unused pxa3xx-ulpi 2023-01-20 11:24:04 +01:00
mfp-pxa2xx.c ARM: pxa: fix missing-prototypes warnings 2023-05-26 13:33:05 +02:00
mfp-pxa2xx.h ARM: pxa: move plat-pxa to drivers/soc/ 2022-05-07 22:56:16 +02:00
mfp-pxa3xx.c ARM: pxa: move mach/*.h to mach-pxa/ 2022-05-07 22:56:17 +02:00
mfp-pxa3xx.h ARM: pxa: move plat-pxa to drivers/soc/ 2022-05-07 22:56:16 +02:00
mfp-pxa25x.h ARM: pxa: prune unused device support 2023-01-20 11:24:08 +01:00
mfp-pxa27x.h License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
mfp-pxa300.h treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 500 2019-06-19 17:09:55 +02:00
mfp-pxa320.h ARM: pxa: restore mfp-pxa320.h 2023-02-08 22:10:39 +01:00
mfp.h ARM: pxa: move mach/*.h to mach-pxa/ 2022-05-07 22:56:17 +02:00
pm.c ARM: pxa: prune unused device support 2023-01-20 11:24:08 +01:00
pm.h ARM: pxa: prune unused device support 2023-01-20 11:24:08 +01:00
pxa2xx-regs.h ARM: pxa: move mach/*.h to mach-pxa/ 2022-05-07 22:56:17 +02:00
pxa2xx.c ARM: pxa: remove irda leftover 2023-01-20 11:24:00 +01:00
pxa3xx-regs.h ARM: pxa: move mach/*.h to mach-pxa/ 2022-05-07 22:56:17 +02:00
pxa3xx.c ARM: pxa: prune unused device support 2023-01-20 11:24:08 +01:00
pxa3xx.h ARM: pxa: move mach/*.h to mach-pxa/ 2022-05-07 22:56:17 +02:00
pxa25x.c ARM: pxa/gumstix: convert vbus gpio to use software nodes 2024-07-09 15:21:15 +02:00
pxa25x.h ARM: pxa: move mach/*.h to mach-pxa/ 2022-05-07 22:56:17 +02:00
pxa27x-udc.h ARM: pxa: split up mach/hardware.h 2022-04-19 16:27:05 +02:00
pxa27x.c ARM: spitz: Use software nodes to describe SPI CS lines 2024-07-09 15:21:15 +02:00
pxa27x.h ARM: pxa: prune unused device support 2023-01-20 11:24:08 +01:00
pxa300.c ARM: pxa: split up mach/hardware.h 2022-04-19 16:27:05 +02:00
pxa300.h License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
pxa320.c ARM: pxa: split up mach/hardware.h 2022-04-19 16:27:05 +02:00
pxa320.h License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
pxa-dt.c ARM: pxa: Drop unused includes 2023-08-12 10:31:00 +02:00
pxa-regs.h ARM: pxa: move mach/*.h to mach-pxa/ 2022-05-07 22:56:17 +02:00
regs-ost.h ARM: pxa: move mach/*.h to mach-pxa/ 2022-05-07 22:56:17 +02:00
regs-rtc.h ARM: pxa: split up mach/hardware.h 2022-04-19 16:27:05 +02:00
reset.c ARM: pxa: fix missing-prototypes warnings 2023-05-26 13:33:05 +02:00
reset.h ARM: pxa: move mach/*.h to mach-pxa/ 2022-05-07 22:56:17 +02:00
sharpsl_pm.c ARM: pxa: remove use of symbol_get() 2023-08-02 11:15:11 -07:00
sharpsl_pm.h backlight: corgi_lcd: fix missing prototype 2023-07-27 15:39:17 +02:00
sleep.S ARM: pxa: move mach/*.h to mach-pxa/ 2022-05-07 22:56:17 +02:00
smemc.c ARM: pxa: move mach/*.h to mach-pxa/ 2022-05-07 22:56:17 +02:00
smemc.h ARM: pxa: move mach/*.h to mach-pxa/ 2022-05-07 22:56:17 +02:00
spitz_pm.c ARM: pxa: spitz: Open code gpio_request_array() 2024-04-03 13:07:18 +02:00
spitz.c ARM: spitz: Use software nodes for the ADS7846 touchscreen 2024-07-09 15:21:16 +02:00
spitz.h ARM: pxa: move mach/*.h to mach-pxa/ 2022-05-07 22:56:17 +02:00
standby.S treewide: Replace GPLv2 boilerplate/reference with SPDX - gpl-2.0_56.RULE (part 1) 2022-06-10 14:51:35 +02:00
udc.h ARM: pxa: make more mach/*.h files local 2015-12-01 21:52:50 +01:00