diff mbox series

[6/8] spi: qcom-qspi: Make available for build test

Message ID 20230221-spi-arch-deps-v1-6-83d1566474cf@kernel.org
State Accepted
Commit ada850541ad33f621425a382d0810b839cb3169e
Headers show
Series spi: Build coverage cleanups and improvements | expand

Commit Message

Mark Brown Feb. 23, 2023, 5:20 p.m. UTC
There is no build time dependency on the Qualcomm platform support so add
an || COMPILE_TEST so we've got better build coverage of the driver.

Signed-off-by: Mark Brown <broonie@kernel.org>
---
 drivers/spi/Kconfig | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
diff mbox series

Patch

diff --git a/drivers/spi/Kconfig b/drivers/spi/Kconfig
index 753d006f8217..c7ae712ff954 100644
--- a/drivers/spi/Kconfig
+++ b/drivers/spi/Kconfig
@@ -826,7 +826,7 @@  config SPI_RSPI
 
 config SPI_QCOM_QSPI
 	tristate "QTI QSPI controller"
-	depends on ARCH_QCOM
+	depends on ARCH_QCOM || COMPILE_TEST
 	help
 	  QSPI(Quad SPI) driver for Qualcomm QSPI controller.