Skip to content

Commit e540be7

Browse files
geertubroonie
authored andcommitted
spi: SPI_AXIADO should depend on ARCH_AXIADO
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: e75a6b0 ("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>
1 parent a8b6e37 commit e540be7

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

drivers/spi/Kconfig

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -216,6 +216,7 @@ config SPI_AXI_SPI_ENGINE
216216
config SPI_AXIADO
217217
tristate "Axiado DB-H SPI controller"
218218
depends on SPI_MEM
219+
depends on ARCH_AXIADO || COMPILE_TEST
219220
help
220221
Enable support for the SPI controller present on Axiado AX3000 SoCs.
221222

0 commit comments

Comments
 (0)