aboutsummaryrefslogtreecommitdiffstats
path: root/arch
diff options
authorArnd Bergmann <arnd@arndb.de>2026-04-28 17:57:19 +0200
committerGreg Ungerer <gerg@kernel.org>2026-05-25 23:51:59 +1000
commit839c51ee3169f550fc80a339ebccb8cd327b43cd (patch)
treebe421e510e78dd5e7d9dde374f9c88e7dc50b7f8 /arch
parent5d442233ef5a9fa82e4c75fdefd94d5e4c66dea7 (diff)
downloadlinux-next-history-839c51ee3169f550fc80a339ebccb8cd327b43cd.tar.gz
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 <arnd@arndb.de> Signed-off-by: Greg Ungerer <gerg@linux-m68k.org>
Diffstat (limited to 'arch')
-rw-r--r--arch/m68k/Kconfig.cpu1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/m68k/Kconfig.cpu b/arch/m68k/Kconfig.cpu
index c9a7e602d8a4d..148f8a79d2068 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