diff options
author | Arnd Bergmann <arnd@arndb.de> | 2022-09-30 09:38:26 +0300 |
---|---|---|
committer | Arnd Bergmann <arnd@arndb.de> | 2023-01-20 13:24:08 +0300 |
commit | ce79f3a1ad5fceda6149d1511ae3d1e13f32c14f (patch) | |
tree | 77f01e09d389eb4b438523131e941ef51c435737 /arch/arm/mach-pxa/mfp-pxa2xx.c | |
parent | 8ca79aaad8becbda085e740c521a792f281c8a6d (diff) | |
download | linux-ce79f3a1ad5fceda6149d1511ae3d1e13f32c14f.tar.xz |
ARM: pxa: prune unused device support
pxa3xx is now DT-only, and the remaining pxa2xx board files
only use a subset of the possible devices, so remove all
definitions that are not referenced any more.
Acked-by: Robert Jarzmik <robert.jarzmik@free.fr>
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Diffstat (limited to 'arch/arm/mach-pxa/mfp-pxa2xx.c')
-rw-r--r-- | arch/arm/mach-pxa/mfp-pxa2xx.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/arch/arm/mach-pxa/mfp-pxa2xx.c b/arch/arm/mach-pxa/mfp-pxa2xx.c index 57b0782880de..b556452dfcf9 100644 --- a/arch/arm/mach-pxa/mfp-pxa2xx.c +++ b/arch/arm/mach-pxa/mfp-pxa2xx.c @@ -226,11 +226,7 @@ static void __init pxa25x_mfp_init(void) int i; /* running before pxa_gpio_probe() */ -#ifdef CONFIG_CPU_PXA26x - pxa_last_gpio = 89; -#else pxa_last_gpio = 84; -#endif for (i = 0; i <= pxa_last_gpio; i++) gpio_desc[i].valid = 1; |