pm: refine defination of pm_dump_debug_info()
Provide dummy implementation of pm_dump_debug_info() as a static inline function in pm.h. Signed-off-by: Meng xianglin <xianglinx.meng@intel.com>
This commit is contained in:
parent
75a51e9c50
commit
f039cc44a1
2 changed files with 2 additions and 1 deletions
|
@ -85,6 +85,8 @@ void pm_power_state_force(struct pm_state_info info);
|
|||
* Dump Low Power states debug info like LPS entry count and residencies.
|
||||
*/
|
||||
void pm_dump_debug_info(void);
|
||||
#else
|
||||
static inline void pm_dump_debug_info(void) { }
|
||||
|
||||
#endif /* CONFIG_PM_DEBUG */
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue