Explorar el Código

spi: xtensa-xtfpga: Enable driver compilation with COMPILE_TEST

This helps increasing build testing coverage.

Signed-off-by: Axel Lin <axel.lin@ingics.com>
Reviewed-by: Max Filippov <jcmvbkbc@gmail.com>
Signed-off-by: Mark Brown <broonie@linaro.org>
Axel Lin hace 11 años
padre
commit
be8dde4675
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      drivers/spi/Kconfig

+ 1 - 1
drivers/spi/Kconfig

@@ -522,7 +522,7 @@ config SPI_XILINX
 
 
 config SPI_XTENSA_XTFPGA
 config SPI_XTENSA_XTFPGA
 	tristate "Xtensa SPI controller for xtfpga"
 	tristate "Xtensa SPI controller for xtfpga"
-	depends on XTENSA && XTENSA_PLATFORM_XTFPGA
+	depends on (XTENSA && XTENSA_PLATFORM_XTFPGA) || COMPILE_TEST
 	select SPI_BITBANG
 	select SPI_BITBANG
 	help
 	help
 	  SPI driver for xtfpga SPI master controller.
 	  SPI driver for xtfpga SPI master controller.