mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git
synced 2025-01-07 22:42:04 +00:00
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>
This commit is contained in:
parent
6a65b2b2af
commit
4f4bfe6bf1
@ -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.
|
||||
|
Loading…
Reference in New Issue
Block a user