diff options
author | Axel Lin <axel.lin@ingics.com> | 2014-03-20 06:08:04 -0400 |
---|---|---|
committer | Mark Brown <broonie@linaro.org> | 2014-03-21 14:11:23 -0400 |
commit | be8dde46750be49fbf161dccd568b5cd14d3f004 (patch) | |
tree | 19c4aa4f346ff948284c3f4880dd151fede63e0b | |
parent | f620e4b81685e95b43894e85f443dfe252fb17b6 (diff) |
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>
-rw-r--r-- | drivers/spi/Kconfig | 2 |
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 | |||
522 | 522 | ||
523 | config SPI_XTENSA_XTFPGA | 523 | config SPI_XTENSA_XTFPGA |
524 | tristate "Xtensa SPI controller for xtfpga" | 524 | tristate "Xtensa SPI controller for xtfpga" |
525 | depends on XTENSA && XTENSA_PLATFORM_XTFPGA | 525 | depends on (XTENSA && XTENSA_PLATFORM_XTFPGA) || COMPILE_TEST |
526 | select SPI_BITBANG | 526 | select SPI_BITBANG |
527 | help | 527 | help |
528 | SPI driver for xtfpga SPI master controller. | 528 | SPI driver for xtfpga SPI master controller. |