mirror of
https://github.com/torvalds/linux.git
synced 2024-11-29 07:31:29 +00:00
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>
This commit is contained in:
parent
c94a3d4032
commit
039ab50bda
@ -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.
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user