linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] spi: s3c64xx: Allow driver to build if COMPILE_TEST is enabled
@ 2016-11-07 20:46 Javier Martinez Canillas
  2016-11-09 15:00 ` Applied "spi: s3c64xx: Allow driver to build if COMPILE_TEST is enabled" to the spi tree Mark Brown
  0 siblings, 1 reply; 2+ messages in thread
From: Javier Martinez Canillas @ 2016-11-07 20:46 UTC (permalink / raw)
  To: linux-kernel; +Cc: Javier Martinez Canillas, Mark Brown, linux-spi

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>
---

 drivers/spi/Kconfig | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/spi/Kconfig b/drivers/spi/Kconfig
index b7995474148c..68910915ca49 100644
--- a/drivers/spi/Kconfig
+++ b/drivers/spi/Kconfig
@@ -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.
 
-- 
2.7.4

^ permalink raw reply related	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2016-11-09 15:06 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-11-07 20:46 [PATCH] spi: s3c64xx: Allow driver to build if COMPILE_TEST is enabled Javier Martinez Canillas
2016-11-09 15:00 ` Applied "spi: s3c64xx: Allow driver to build if COMPILE_TEST is enabled" to the spi tree Mark Brown

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).