Message ID | 20230221-spi-arch-deps-v1-2-83d1566474cf@kernel.org (mailing list archive) |
---|---|
State | Accepted |
Commit | 330a200d360f8b140b31d7da8b657da0472484e6 |
Headers | show |
Series | spi: Build coverage cleanups and improvements | expand |
diff --git a/drivers/spi/Kconfig b/drivers/spi/Kconfig index d1ee27d55a5f..f765b4ce226d 100644 --- a/drivers/spi/Kconfig +++ b/drivers/spi/Kconfig @@ -783,6 +783,7 @@ config SPI_PXA2XX_PCI config SPI_ROCKCHIP tristate "Rockchip SPI controller driver" + depends on ARCH_ROCKCHIP || COMPILE_TEST help This selects a driver for Rockchip SPI controller.
If base support for Rockchip SoCs has been disabled then the SPI driver won't be terribly useful, add a dependency on ARCH_ROCKCHIP || COMPILE_TEST to avoid it appearing when not needed. Signed-off-by: Mark Brown <broonie@kernel.org> --- drivers/spi/Kconfig | 1 + 1 file changed, 1 insertion(+)