mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-09 20:32:04 +09:00
ARM: rockchip: pm: fix compilation error for !PM_SLEEP
Fixes: 580ad3d371 ("rockchip: pm: add deep sleep support for rk3288")
Change-Id: I8034cd47f289f51b21c47ee8f68ee1ae125026e7
Signed-off-by: Tao Huang <huangtao@rock-chips.com>
This commit is contained in:
@@ -16,7 +16,13 @@
|
||||
#define __MACH_ROCKCHIP_PM_H
|
||||
|
||||
void rockchip_slp_cpu_resume(void);
|
||||
#ifdef CONFIG_PM_SLEEP
|
||||
void __init rockchip_suspend_init(void);
|
||||
#else
|
||||
static inline void rockchip_suspend_init(void)
|
||||
{
|
||||
}
|
||||
#endif
|
||||
|
||||
struct rk3288_ddr_save_data;
|
||||
int __init rk3288_ddr_suspend_init(struct rk3288_ddr_save_data *ddr_save);
|
||||
|
||||
Reference in New Issue
Block a user