From: Richard Weinberger Date: Mon, 16 Mar 2015 21:27:08 +0000 (+0100) Subject: power/reset/rmobile-reset.c: Fix !HAS_IOMEM build X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=039ab50bda5606307138b1baa1f18c7e33d357e4;p=linux-beck.git 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 Acked-by: Geert Uytterhoeven Signed-off-by: Sebastian Reichel --- 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.