diff mbox series

[8/8] spi: s3c24xx: Allow build test coverage

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

Commit Message

Mark Brown Feb. 23, 2023, 5:20 p.m. UTC
Other than the FIQ code the driver has no platform dependencies so we can
include it in compile test coverage, the FIQ code will only build on arm.

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

Patch

diff --git a/drivers/spi/Kconfig b/drivers/spi/Kconfig
index c7ae712ff954..8e910cb2d21c 100644
--- a/drivers/spi/Kconfig
+++ b/drivers/spi/Kconfig
@@ -857,7 +857,7 @@  config SPI_QCOM_GENI
 
 config SPI_S3C24XX
 	tristate "Samsung S3C24XX series SPI"
-	depends on ARCH_S3C24XX
+	depends on ARCH_S3C24XX || COMPILE_TEST
 	select SPI_BITBANG
 	help
 	  SPI driver for Samsung S3C24XX series ARM SoCs
@@ -865,6 +865,7 @@  config SPI_S3C24XX
 config SPI_S3C24XX_FIQ
 	bool "S3C24XX driver with FIQ pseudo-DMA"
 	depends on SPI_S3C24XX=y
+	depends on ARM
 	select FIQ
 	help
 	  Enable FIQ support for the S3C24XX SPI driver to provide pseudo