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>
This commit is contained in:
Richard Weinberger 2015-03-16 22:27:08 +01:00 committed by Sebastian Reichel
parent c94a3d4032
commit 039ab50bda
1 changed files with 1 additions and 0 deletions

View File

@ -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.