power/reset/rmobile-reset.c: Fix !HAS_IOMEM build
authorRichard Weinberger <richard@nod.at>
Mon, 16 Mar 2015 21:27:08 +0000 (22:27 +0100)
committerSebastian Reichel <sre@kernel.org>
Fri, 20 Mar 2015 12:06:01 +0000 (13:06 +0100)
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>
drivers/power/reset/Kconfig

index 27f6646..6f791fb 100644 (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.