mirror of
https://github.com/linux-msm/laptops-kernel.git
synced 2026-08-13 14:19:53 -07:00
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: e75a6b00ad ("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>
This commit is contained in:
@@ -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.
|
||||
|
||||
|
||||
Reference in New Issue
Block a user