spi: s3c64xx: Allow driver to build if COMPILE_TEST is enabled
authorJavier Martinez Canillas <javier@osg.samsung.com>
Mon, 7 Nov 2016 20:46:52 +0000 (17:46 -0300)
committerMark Brown <broonie@kernel.org>
Wed, 9 Nov 2016 14:05:01 +0000 (14:05 +0000)
The driver only has runtime but no build time dependency with PLAT_SAMSUNG
|| ARCH_EXYNOS so it can be built for testing purposes if the COMPILE_TEST
option is enabled.

This is useful to have more build coverage and make sure that the driver
is not affected by changes that could cause build regressions.

Signed-off-by: Javier Martinez Canillas <javier@osg.samsung.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
drivers/spi/Kconfig

index b7995474148c7eb91b2c2f87459b0c9bd446d3f2..68910915ca49a8896e76938dd85634b570558b13 100644 (file)
@@ -553,7 +553,7 @@ config SPI_S3C24XX_FIQ
 
 config SPI_S3C64XX
        tristate "Samsung S3C64XX series type SPI"
-       depends on (PLAT_SAMSUNG || ARCH_EXYNOS)
+       depends on (PLAT_SAMSUNG || ARCH_EXYNOS || COMPILE_TEST)
        help
          SPI driver for Samsung S3C64XX and newer SoCs.