[PATCH v2] power: reset: keystone: Enable COMPILE_TEST
From: Krzysztof Kozlowski
Date: Thu Mar 03 2016 - 20:04:57 EST
Enable the COMPILE_TEST to get build coverage, except on platforms
!HAS_IOMEM (required by selected MFD_SYSCON).
Signed-off-by: Krzysztof Kozlowski <k.kozlowski@xxxxxxxxxxx>
---
Changes since v1:
1. Fix comments from Arnd: Change this to COMPILE_TEST and then add
required HAS_IOMEM dependency.
---
drivers/power/reset/Kconfig | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/drivers/power/reset/Kconfig b/drivers/power/reset/Kconfig
index 0a6408a39c66..8e6279d75c93 100644
--- a/drivers/power/reset/Kconfig
+++ b/drivers/power/reset/Kconfig
@@ -140,7 +140,8 @@ config POWER_RESET_XGENE
config POWER_RESET_KEYSTONE
bool "Keystone reset driver"
- depends on ARCH_KEYSTONE
+ depends on ARCH_KEYSTONE || COMPILE_TEST
+ depends on HAS_IOMEM # For MFD_SYSCON
select MFD_SYSCON
help
Reboot support for the KEYSTONE SoCs.
--
2.5.0