reset: imx7: add 'depends on HAS_IOMEM' to fix unmet dependency
authorMasahiro Yamada <yamada.masahiro@socionext.com>
Tue, 6 Mar 2018 11:15:11 +0000 (20:15 +0900)
committerPhilipp Zabel <p.zabel@pengutronix.de>
Tue, 27 Mar 2018 08:44:02 +0000 (10:44 +0200)
This config select's MFD_SYSCON, but does not depend on HAS_IOMEM.

Compile testing on architecture without HAS_IOMEM causes "unmet
direct dependencies" in Kconfig phase.

Detected by "make ARCH=score allyesconfig".

Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
Signed-off-by: Philipp Zabel <p.zabel@pengutronix.de>
drivers/reset/Kconfig

index 18f152d251d70af61a889348e5a17699c65ee1f4..1efbc6cc8021f48c7cea4a274d135d688009a7dd 100644 (file)
@@ -49,6 +49,7 @@ config RESET_HSDK
 
 config RESET_IMX7
        bool "i.MX7 Reset Driver" if COMPILE_TEST
+       depends on HAS_IOMEM
        default SOC_IMX7D
        select MFD_SYSCON
        help