summaryrefslogtreecommitdiffstats
path: root/drivers/spi
diff options
context:
space:
mode:
authorLaurent Pinchart2013-11-27 02:18:36 +0100
committerMark Brown2013-11-27 17:34:55 +0100
commit7ad35442fc07689eea3e6357390ae7c8fd9ef53c (patch)
tree069dba10635b332542c35618778b30950b51b6ba /drivers/spi
parentspi: sh-msiof: Fix warnings due to improper casts (diff)
downloadkernel-qcow2-linux-7ad35442fc07689eea3e6357390ae7c8fd9ef53c.tar.gz
kernel-qcow2-linux-7ad35442fc07689eea3e6357390ae7c8fd9ef53c.tar.xz
kernel-qcow2-linux-7ad35442fc07689eea3e6357390ae7c8fd9ef53c.zip
spi: sh-msiof: Enable driver compilation with COMPILE_TEST
This helps increasing build testing coverage. Signed-off-by: Laurent Pinchart <laurent.pinchart+renesas@ideasonboard.com> Acked-by: Simon Horman <horms@verge.net.au> Signed-off-by: Mark Brown <broonie@linaro.org>
Diffstat (limited to 'drivers/spi')
-rw-r--r--drivers/spi/Kconfig3
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/spi/Kconfig b/drivers/spi/Kconfig
index eb1f1ef5fa2e..51ae940adce2 100644
--- a/drivers/spi/Kconfig
+++ b/drivers/spi/Kconfig
@@ -407,7 +407,8 @@ config SPI_SC18IS602
config SPI_SH_MSIOF
tristate "SuperH MSIOF SPI controller"
- depends on (SUPERH || ARCH_SHMOBILE) && HAVE_CLK
+ depends on HAVE_CLK
+ depends on SUPERH || ARCH_SHMOBILE || COMPILE_TEST
select SPI_BITBANG
help
SPI driver for SuperH and SH Mobile MSIOF blocks.