Thread (23 messages) 23 messages, 6 authors, 2016-06-13

[RFC v4 05/14] power: pwrseq: Enable COMPILE_TEST for drivers

From: Krzysztof Kozlowski <hidden>
Date: 2016-06-09 09:48:17
Also in: linux-arm-kernel, linux-devicetree, linux-mmc, linux-pm, linux-samsung-soc, lkml
Subsystem: the rest · Maintainer: Linus Torvalds

Allow build testing for power sequence drivers.

Signed-off-by: Krzysztof Kozlowski <redacted>
Reviewed-by: Javier Martinez Canillas <redacted>
---
 drivers/power/pwrseq/Kconfig | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/drivers/power/pwrseq/Kconfig b/drivers/power/pwrseq/Kconfig
index 7ecd66ab61f3..c7e9271fd94f 100644
--- a/drivers/power/pwrseq/Kconfig
+++ b/drivers/power/pwrseq/Kconfig
@@ -10,7 +10,7 @@ if POWER_SEQ
 config POWER_SEQ_EMMC
 	tristate "HW reset support for eMMC"
 	default y
-	depends on OF
+	depends on OF || COMPILE_TEST
 	help
 	  This selects Hardware reset support aka pwrseq-emmc for eMMC
 	  devices. By default this option is set to y.
@@ -21,7 +21,7 @@ config POWER_SEQ_EMMC
 config POWER_SEQ_SIMPLE
 	tristate "Simple HW reset support for MMC"
 	default y
-	depends on OF
+	depends on OF || COMPILE_TEST
 	help
 	  This selects simple hardware reset support aka pwrseq-simple for MMC
 	  devices. By default this option is set to y.
-- 
1.9.1
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help