From: Arnd Bergmann Date: Tue, 28 Apr 2026 15:57:19 +0000 (+0200) Subject: m68k: coldfire: select legacy gpiolib interface for mcfqspi X-Git-Url: http://git.ipfire.org/gitweb/?a=commitdiff_plain;h=c17dfc8bb0b61ed36b984449eae8f246878052eb;p=thirdparty%2Flinux.git m68k: coldfire: select legacy gpiolib interface for mcfqspi The common coldfire code uses the old GPIO number based interfaces for at least the QSPI chipselect lines. Select the required Kconfig symbol to keep it building when that becomes optional. Apparently there are no devices attached to a QSPI controller in any of the coldfire boards, so this is not actually used in upstream kernels. Signed-off-by: Arnd Bergmann Signed-off-by: Greg Ungerer --- diff --git a/arch/m68k/Kconfig.cpu b/arch/m68k/Kconfig.cpu index c9a7e602d8a4..148f8a79d206 100644 --- a/arch/m68k/Kconfig.cpu +++ b/arch/m68k/Kconfig.cpu @@ -30,6 +30,7 @@ config COLDFIRE select CPU_HAS_NO_MULDIV64 select GENERIC_CSUM select GPIOLIB + select GPIOLIB_LEGACY if SPI_COLDFIRE_QSPI select HAVE_LEGACY_CLK select HAVE_PAGE_SIZE_8KB if !MMU