Jelajahi Sumber

spi: sh-msiof: Enable driver compilation with COMPILE_TEST

This helps increasing build testing coverage.

Signed-off-by: Laurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>
Acked-by: Simon Horman <horms@verge.net.au>
Signed-off-by: Mark Brown <broonie@linaro.org>
Laurent Pinchart 11 tahun lalu
induk
melakukan
7ad35442fc
1 mengubah file dengan 2 tambahan dan 1 penghapusan
  1. 2 1
      drivers/spi/Kconfig

+ 2 - 1
drivers/spi/Kconfig

@@ -407,7 +407,8 @@ config SPI_SC18IS602
 
 
 config SPI_SH_MSIOF
 config SPI_SH_MSIOF
 	tristate "SuperH MSIOF SPI controller"
 	tristate "SuperH MSIOF SPI controller"
-	depends on (SUPERH || ARCH_SHMOBILE) && HAVE_CLK
+	depends on HAVE_CLK
+	depends on SUPERH || ARCH_SHMOBILE || COMPILE_TEST
 	select SPI_BITBANG
 	select SPI_BITBANG
 	help
 	help
 	  SPI driver for SuperH and SH Mobile MSIOF blocks.
 	  SPI driver for SuperH and SH Mobile MSIOF blocks.