summaryrefslogtreecommitdiff
path: root/drivers/power
diff options
context:
space:
mode:
authorRichard Weinberger <richard@nod.at>2015-03-16 22:27:08 +0100
committerSebastian Reichel <sre@kernel.org>2015-03-20 13:06:01 +0100
commit039ab50bda5606307138b1baa1f18c7e33d357e4 (patch)
treee24ad542601cababeab750c7d9fe8836afd70283 /drivers/power
parentc94a3d403299f64d2f91346ff64c4b95747c123c (diff)
power/reset/rmobile-reset.c: Fix !HAS_IOMEM build
Fixes: drivers/power/reset/rmobile-reset.c: In function ‘rmobile_reset_probe’: drivers/power/reset/rmobile-reset.c:61:2: error: implicit declaration of function ‘iounmap’ [-Werror=implicit-function-declaration] iounmap(sysc_base2); Signed-off-by: Richard Weinberger <richard@nod.at> Acked-by: Geert Uytterhoeven <geert+renesas@glider.be> Signed-off-by: Sebastian Reichel <sre@kernel.org>
Diffstat (limited to 'drivers/power')
-rw-r--r--drivers/power/reset/Kconfig1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/power/reset/Kconfig b/drivers/power/reset/Kconfig
index 27f6646731b0..6f791fbb1c96 100644
--- a/drivers/power/reset/Kconfig
+++ b/drivers/power/reset/Kconfig
@@ -154,6 +154,7 @@ config POWER_RESET_SYSCON
config POWER_RESET_RMOBILE
tristate "Renesas R-Mobile reset driver"
depends on ARCH_RMOBILE || COMPILE_TEST
+ depends on HAS_IOMEM
help
Reboot support for Renesas R-Mobile and SH-Mobile SoCs.