Skip to contentSkip to conversation

spi: xtensa-xtfpga: Enable driver compilation with COMPILE_TEST

PATCH Applied Axel Lin 3 participants 3 messages Mar 20, 2014 – Mar 21, 2014 SPI

lore
Share & tools
lore

Axel Lin

author
#0 lore raw

PATCH 1/1 spi: xtensa-xtfpga: Enable driver compilation with COMPILE_TEST

This helps increasing build testing coverage.

---
 drivers/spi/Kconfig | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/spi/Kconfig +1 -1
index b35aa8e..1ee6a54 100644
@@ -540,7 +540,7 @@ config SPI_XILINX
 
 config SPI_XTENSA_XTFPGA
 	tristate "Xtensa SPI controller for xtfpga"
-	depends on XTENSA && XTENSA_PLATFORM_XTFPGA
+	depends on (XTENSA && XTENSA_PLATFORM_XTFPGA) || COMPILE_TEST
 	select SPI_BITBANG
 	help
 	  SPI driver for xtfpga SPI master controller.
Signature · 8 lines
1.8.3.2



--
To unsubscribe from this list: send the line "unsubscribe linux-spi" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Reviewed-by on v1 1/1
#1 lore raw
Quoted 6 lines · Axel Lin

This helps increasing build testing coverage.

---
 drivers/spi/Kconfig | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
Quoted 15 lines
drivers/spi/Kconfig +1 -2
index b35aa8e..1ee6a54 100644
@@ -540,7 +540,7 @@ config SPI_XILINX
 
 config SPI_XTENSA_XTFPGA
        tristate "Xtensa SPI controller for xtfpga"
-       depends on XTENSA && XTENSA_PLATFORM_XTFPGA
+       depends on (XTENSA && XTENSA_PLATFORM_XTFPGA) || COMPILE_TEST
        select SPI_BITBANG
        help
          SPI driver for xtfpga SPI master controller.
--

1.8.3.2

Signature · 6 lines
Thanks.
-- Max
--
To unsubscribe from this list: send the line "unsubscribe linux-spi" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html