Skip to content
Commit c8823e7a authored by Arnd Bergmann's avatar Arnd Bergmann
Browse files

ARM: rockchip: make rockchip_suspend_init conditional



If CONFIG_PM_SLEEP is disabled, we get a build error for rockchips:

arch/arm/mach-rockchip/built-in.o: In function `rockchip_dt_init':
:(.init.text+0x1c): undefined reference to `rockchip_suspend_init'

This adds an inline alternative for that case.

Signed-off-by: default avatarArnd Bergmann <arnd@arndb.de>
Reviewed-by: default avatarHeiko Stuebner <heiko@sntech.de>
Cc: linux-rockchip@lists.infradead.org
parent 1aeb3c5c
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment