[PATCH 4/6] power/reset/rmobile-reset.c: Fix !HAS_IOMEM build

From: Richard Weinberger
Date: Mon Mar 16 2015 - 17:27:36 EST


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@xxxxxx>
---
drivers/power/reset/Kconfig | 1 +
1 file changed, 1 insertion(+)

diff --git a/drivers/power/reset/Kconfig b/drivers/power/reset/Kconfig
index 27f6646..6f791fb 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.

--
1.8.4.5

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/