diff options
author | Richard Weinberger <richard@nod.at> | 2015-03-16 22:27:08 +0100 |
---|---|---|
committer | Sebastian Reichel <sre@kernel.org> | 2015-03-20 13:06:01 +0100 |
commit | 039ab50bda5606307138b1baa1f18c7e33d357e4 (patch) | |
tree | e24ad542601cababeab750c7d9fe8836afd70283 /drivers/power | |
parent | power_supply: 88pm860x_charger: Fix possible NULL pointer dereference and use... (diff) | |
download | linux-039ab50bda5606307138b1baa1f18c7e33d357e4.tar.xz linux-039ab50bda5606307138b1baa1f18c7e33d357e4.zip |
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>
Diffstat (limited to 'drivers/power')
-rw-r--r-- | drivers/power/reset/Kconfig | 1 |
1 files changed, 1 insertions, 0 deletions
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. |