Dmitry Torokhov dead06c5e1
ARM: pxa: fix build breakage on PXA3xx
Commit 917195d6f829 ("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: 917195d6f829 ("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
..
2022-05-07 22:56:17 +02:00
2022-05-07 22:56:17 +02:00
2022-05-07 22:56:17 +02:00
2023-01-20 11:24:04 +01:00
2023-01-20 11:24:04 +01:00
2023-02-08 22:10:39 +01:00
2022-05-07 22:56:17 +02:00
2023-01-20 11:24:08 +01:00
2023-01-20 11:24:08 +01:00
2023-01-20 11:24:00 +01:00
2023-01-20 11:24:08 +01:00
2022-05-07 22:56:17 +02:00
2022-05-07 22:56:17 +02:00
2023-01-20 11:24:08 +01:00
2022-04-19 16:27:05 +02:00
2022-04-19 16:27:05 +02:00
2023-08-12 10:31:00 +02:00
2022-04-19 16:27:05 +02:00
2022-05-07 22:56:17 +02:00
2022-05-07 22:56:17 +02:00
2022-05-07 22:56:17 +02:00
2022-05-07 22:56:17 +02:00
2022-05-07 22:56:17 +02:00
2015-12-01 21:52:50 +01:00