pm: make compile dummy when PM not enabled.
Signed-off-by: buxiasen <buxiasen@xiaomi.com>
This commit is contained in:
parent
5fd03186af
commit
b53b449847
@ -837,7 +837,9 @@ void pm_auto_updatestate(int domain);
|
|||||||
# define PM_WAKELOCK_DECLARE(v,n,d,s)
|
# define PM_WAKELOCK_DECLARE(v,n,d,s)
|
||||||
# define PM_WAKELOCK_DECLARE_STATIC(v,n,d,s)
|
# define PM_WAKELOCK_DECLARE_STATIC(v,n,d,s)
|
||||||
# define pm_initialize()
|
# define pm_initialize()
|
||||||
|
# define pm_domain_register(domain,cb) (0)
|
||||||
# define pm_register(cb) (0)
|
# define pm_register(cb) (0)
|
||||||
|
# define pm_domain_unregister(domain,cb) (0)
|
||||||
# define pm_unregister(cb) (0)
|
# define pm_unregister(cb) (0)
|
||||||
# define pm_activity(domain,prio)
|
# define pm_activity(domain,prio)
|
||||||
# define pm_stay(domain,state)
|
# define pm_stay(domain,state)
|
||||||
|
Loading…
Reference in New Issue
Block a user