]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
spi: SPI_AXIADO should depend on ARCH_AXIADO
authorGeert Uytterhoeven <geert+renesas@glider.be>
Tue, 27 Jan 2026 19:08:31 +0000 (20:08 +0100)
committerMark Brown <broonie@kernel.org>
Tue, 27 Jan 2026 22:36:15 +0000 (22:36 +0000)
The Axiado DB-H SPI controller is only present on Axiado AX3000 SoCs.
Hence add a dependency on ARCH_AXIADO, to prevent asking the user about
this driver when configuring a kernel without Axiado SoC Family support.

Fixes: e75a6b00ad7962a7 ("spi: axiado: Add driver for Axiado SPI DB controller")
Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
Link: https://patch.msgid.link/386273d50fb3c51cccdba4b3101a0705208abd4d.1769540444.git.geert+renesas@glider.be
Signed-off-by: Mark Brown <broonie@kernel.org>
drivers/spi/Kconfig

index 55de59e0db857d6f3cbc485e58a394bcb8711612..a5ffae9f5668048322aa6ceca3b54c6ab6bb008f 100644 (file)
@@ -216,6 +216,7 @@ config SPI_AXI_SPI_ENGINE
 config SPI_AXIADO
        tristate "Axiado DB-H SPI controller"
        depends on SPI_MEM
+       depends on ARCH_AXIADO || COMPILE_TEST
        help
          Enable support for the SPI controller present on Axiado AX3000 SoCs.