Commit 4f4bfe6b authored by Richard Weinberger's avatar Richard Weinberger Committed by Sebastian Reichel

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: default avatarRichard Weinberger <richard@nod.at>
Signed-off-by: default avatarSebastian Reichel <sre@kernel.org>
parent 6a65b2b2
...@@ -148,6 +148,7 @@ config POWER_RESET_KEYSTONE ...@@ -148,6 +148,7 @@ config POWER_RESET_KEYSTONE
config POWER_RESET_SYSCON config POWER_RESET_SYSCON
bool "Generic SYSCON regmap reset driver" bool "Generic SYSCON regmap reset driver"
depends on OF depends on OF
depends on HAS_IOMEM
select MFD_SYSCON select MFD_SYSCON
help help
Reboot support for generic SYSCON mapped register reset. Reboot support for generic SYSCON mapped register reset.
...@@ -155,6 +156,7 @@ config POWER_RESET_SYSCON ...@@ -155,6 +156,7 @@ config POWER_RESET_SYSCON
config POWER_RESET_SYSCON_POWEROFF config POWER_RESET_SYSCON_POWEROFF
bool "Generic SYSCON regmap poweroff driver" bool "Generic SYSCON regmap poweroff driver"
depends on OF depends on OF
depends on HAS_IOMEM
select MFD_SYSCON select MFD_SYSCON
help help
Poweroff support for generic SYSCON mapped register poweroff. Poweroff support for generic SYSCON mapped register poweroff.
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment