]> asedeno.scripts.mit.edu Git - linux.git/commitdiff
spi: xtensa-xtfpga: Enable driver compilation with COMPILE_TEST
authorAxel Lin <axel.lin@ingics.com>
Thu, 20 Mar 2014 10:08:04 +0000 (18:08 +0800)
committerMark Brown <broonie@linaro.org>
Fri, 21 Mar 2014 18:11:23 +0000 (18:11 +0000)
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>
drivers/spi/Kconfig

index c87475db0f7915119171676576df16daf78a71c1..d36045f4fc24f32f6f4a703eb97a0722a9e41401 100644 (file)
@@ -522,7 +522,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.