diff options
author | Dmitry Torokhov <[email protected]> | 2024-07-12 20:34:51 -0700 |
---|---|---|
committer | Arnd Bergmann <[email protected]> | 2024-07-15 13:53:28 +0200 |
commit | dead06c5e110c25931bafc8cf017e3077b871ac5 (patch) | |
tree | ca045a88c916a50678d14edfb358db7ffb08351b /scripts/rustdoc_test_builder.rs | |
parent | ed75ace541049fa1a758715578165366cc3dc72a (diff) |
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 <[email protected]>
Closes: https://lore.kernel.org/oe-kbuild-all/[email protected]/
Fixes: 917195d6f829 ("ARM: pxa: consolidate GPIO chip platform data")
Signed-off-by: Dmitry Torokhov <[email protected]>
Signed-off-by: Arnd Bergmann <[email protected]>
Diffstat (limited to 'scripts/rustdoc_test_builder.rs')
0 files changed, 0 insertions, 0 deletions