diff options
author | Richard Weinberger <richard@nod.at> | 2015-03-16 17:27:08 -0400 |
---|---|---|
committer | Sebastian Reichel <sre@kernel.org> | 2015-03-20 08:06:01 -0400 |
commit | 039ab50bda5606307138b1baa1f18c7e33d357e4 (patch) | |
tree | e24ad542601cababeab750c7d9fe8836afd70283 /drivers/power | |
parent | c94a3d403299f64d2f91346ff64c4b95747c123c (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/Kconfig | 1 |
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 | |||
154 | config POWER_RESET_RMOBILE | 154 | config POWER_RESET_RMOBILE |
155 | tristate "Renesas R-Mobile reset driver" | 155 | tristate "Renesas R-Mobile reset driver" |
156 | depends on ARCH_RMOBILE || COMPILE_TEST | 156 | depends on ARCH_RMOBILE || COMPILE_TEST |
157 | depends on HAS_IOMEM | ||
157 | help | 158 | help |
158 | Reboot support for Renesas R-Mobile and SH-Mobile SoCs. | 159 | Reboot support for Renesas R-Mobile and SH-Mobile SoCs. |
159 | 160 | ||