Skip to content

Commit

Permalink
power/reset/rmobile-reset.c: Fix !HAS_IOMEM build
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Richard Weinberger authored and Sebastian Reichel committed Mar 20, 2015
1 parent c94a3d4 commit 039ab50
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions drivers/power/reset/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -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.

Expand Down

0 comments on commit 039ab50

Please sign in to comment.