summaryrefslogtreecommitdiff
path: root/drivers/power
diff options
context:
space:
mode:
authorRichard Weinberger <richard@nod.at>2016-01-26 01:24:00 +0300
committerSebastian Reichel <sre@kernel.org>2016-02-15 08:06:07 +0300
commit4f4bfe6bf116d98e336a08ee19ac5754ba0f9f4a (patch)
tree7bd6bde594c6839b0132d3d04d1d8c4449c0a974 /drivers/power
parent6a65b2b2af716854986b6d7d17ce096a949be863 (diff)
downloadlinux-4f4bfe6bf116d98e336a08ee19ac5754ba0f9f4a.tar.xz
power: reset: Fix dependencies for !HAS_IOMEM archs
Not every arch has io memory. So, unbreak the build by fixing the dependencies. Signed-off-by: Richard Weinberger <richard@nod.at> Signed-off-by: Sebastian Reichel <sre@kernel.org>
Diffstat (limited to 'drivers/power')
-rw-r--r--drivers/power/reset/Kconfig2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/power/reset/Kconfig b/drivers/power/reset/Kconfig
index 1131cf75acc6..0a6408a39c66 100644
--- a/drivers/power/reset/Kconfig
+++ b/drivers/power/reset/Kconfig
@@ -148,6 +148,7 @@ config POWER_RESET_KEYSTONE
config POWER_RESET_SYSCON
bool "Generic SYSCON regmap reset driver"
depends on OF
+ depends on HAS_IOMEM
select MFD_SYSCON
help
Reboot support for generic SYSCON mapped register reset.
@@ -155,6 +156,7 @@ config POWER_RESET_SYSCON
config POWER_RESET_SYSCON_POWEROFF
bool "Generic SYSCON regmap poweroff driver"
depends on OF
+ depends on HAS_IOMEM
select MFD_SYSCON
help
Poweroff support for generic SYSCON mapped register poweroff.