]> git.ipfire.org Git - thirdparty/linux.git/commitdiff
ARM: select legacy gpiolib interfaces where used
authorArnd Bergmann <arnd@arndb.de>
Tue, 28 Apr 2026 16:27:30 +0000 (18:27 +0200)
committerArnd Bergmann <arnd@arndb.de>
Thu, 7 May 2026 12:16:41 +0000 (14:16 +0200)
A few old machines have not been converted away from the old-style
gpiolib interfaces. Make these select the new CONFIG_GPIOLIB_LEGACY
symbol so the code still works where it is needed but can be left
out otherwise.

Acked-by: Krzysztof Kozlowski <krzk@kernel.org>
Acked-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Link: https://lore.kernel.org/r/20260428162757.540823-1-arnd@kernel.org
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
arch/arm/mach-mv78xx0/Kconfig
arch/arm/mach-orion5x/Kconfig
arch/arm/mach-pxa/Kconfig
arch/arm/mach-s3c/Kconfig.s3c64xx
arch/arm/mach-sa1100/Kconfig

index 9de3bbc09c3a08a527388b8fd0dcb44a52614570..670e6587827e4eb675540da6885517076467e316 100644 (file)
@@ -6,6 +6,7 @@ menuconfig ARCH_MV78XX0
        depends on ATAGS
        select CPU_FEROCEON
        select GPIOLIB
+       select GPIOLIB_LEGACY
        select MVEBU_MBUS
        select FORCE_PCI
        select PLAT_ORION_LEGACY
index ee449ca032d21edadc8d83c8feea0e6ea113553a..cef19bea61641b01414c0ae51c36296f747cf2e6 100644 (file)
@@ -5,6 +5,7 @@ menuconfig ARCH_ORION5X
        depends on CPU_LITTLE_ENDIAN
        select CPU_FEROCEON
        select GPIOLIB
+       select GPIOLIB_LEGACY
        select MVEBU_MBUS
        select FORCE_PCI
        select PCI_QUIRKS
index 10e472f4fa4342d775405b9f84d8edc25bb9280a..66e26990e2c8d3ba70e516988901584d80ed35e4 100644 (file)
@@ -10,6 +10,7 @@ menuconfig ARCH_PXA
        select CPU_XSCALE if !CPU_XSC3
        select GPIO_PXA
        select GPIOLIB
+       select GPIOLIB_LEGACY
        select PLAT_PXA
        help
          Support for Intel/Marvell's PXA2xx/PXA3xx processor line.
index 8f40af063ad6fdaf7e4e622712ce30cb13f7f851..3f97fba8e4f5236c1815aa3c5ea061f6124e3fac 100644 (file)
@@ -101,6 +101,7 @@ config MACH_WLF_CRAGG_6410
        depends on ATAGS
        depends on I2C=y
        select CPU_S3C6410
+       select GPIOLIB_LEGACY
        select LEDS_GPIO_REGISTER
        select S3C64XX_DEV_SPI0
        select S3C64XX_SETUP_FB_24BPP
index 0fb4c24cfad54dd8a4d578fdf4bba4c121441123..e23700e0d6c886b03cc17703ee6d6ec0157e8a2c 100644 (file)
@@ -13,6 +13,7 @@ menuconfig ARCH_SA1100
        select CPU_FREQ
        select CPU_SA1100
        select GPIOLIB
+       select GPIOLIB_LEGACY
        select IRQ_DOMAIN
        select ISA
        select NEED_MACH_MEMORY_H