[RESEND v2] power: reset: keystone: Enable COMPILE_TEST

From: Krzysztof Kozlowski
Date: Tue Mar 29 2016 - 20:50:20 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..0b8f7470bb9c 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
select MFD_SYSCON
help
Reboot support for the KEYSTONE SoCs.
--
2.5.0