aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/spi
diff options
context:
space:
mode:
authorAxel Lin <axel.lin@ingics.com>2014-03-20 18:08:04 +0800
committerMark Brown <broonie@linaro.org>2014-03-21 18:11:23 +0000
commitbe8dde46750be49fbf161dccd568b5cd14d3f004 (patch)
tree19c4aa4f346ff948284c3f4880dd151fede63e0b /drivers/spi
parentMAINTAINERS: add xtfpga platform section (diff)
downloadlinux-dev-be8dde46750be49fbf161dccd568b5cd14d3f004.tar.xz
linux-dev-be8dde46750be49fbf161dccd568b5cd14d3f004.zip
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>
Diffstat (limited to 'drivers/spi')
-rw-r--r--drivers/spi/Kconfig2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/spi/Kconfig b/drivers/spi/Kconfig
index c87475db0f79..d36045f4fc24 100644
--- a/drivers/spi/Kconfig
+++ b/drivers/spi/Kconfig
@@ -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.