mirror of
https://github.com/apache/nuttx.git
synced 2026-05-22 05:42:05 +08:00
pm: make compile dummy when PM not enabled.
Signed-off-by: buxiasen <buxiasen@xiaomi.com>
This commit is contained in:
@@ -837,7 +837,9 @@ void pm_auto_updatestate(int domain);
|
||||
# define PM_WAKELOCK_DECLARE(v,n,d,s)
|
||||
# define PM_WAKELOCK_DECLARE_STATIC(v,n,d,s)
|
||||
# define pm_initialize()
|
||||
# define pm_domain_register(domain,cb) (0)
|
||||
# define pm_register(cb) (0)
|
||||
# define pm_domain_unregister(domain,cb) (0)
|
||||
# define pm_unregister(cb) (0)
|
||||
# define pm_activity(domain,prio)
|
||||
# define pm_stay(domain,state)
|
||||
|
||||
Reference in New Issue
Block a user