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 <[email protected]>
Acked-by: Geert Uytterhoeven <[email protected]>
Signed-off-by: Sebastian Reichel <[email protected]>
This commit is contained in:
Richard Weinberger 2015-03-16 22:27:08 +01:00 • committed by Sebastian Reichel
commit 039ab50bda

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.