power:driver: move pm_auto_update to outer dir
Pm_auto_update maybe called by outter PM users Signed-off-by: zhuyanlin <zhuyanlin1@xiaomi.com>
This commit is contained in:
parent
ae21df2ed3
commit
79bcc662d9
@ -117,22 +117,6 @@ EXTERN struct pm_global_s g_pmglobals;
|
||||
* Public Function Prototypes
|
||||
****************************************************************************/
|
||||
|
||||
/****************************************************************************
|
||||
* Name: pm_auto_updatestate
|
||||
*
|
||||
* Description:
|
||||
* This function update the domain state and notify the power system.
|
||||
*
|
||||
* Input Parameters:
|
||||
* domain - The PM domain to check
|
||||
*
|
||||
* Returned Value:
|
||||
* None.
|
||||
*
|
||||
****************************************************************************/
|
||||
|
||||
void pm_auto_updatestate(int domain);
|
||||
|
||||
/****************************************************************************
|
||||
* Name: pm_lock
|
||||
*
|
||||
|
@ -598,6 +598,22 @@ int pm_changestate(int domain, enum pm_state_e newstate);
|
||||
|
||||
enum pm_state_e pm_querystate(int domain);
|
||||
|
||||
/****************************************************************************
|
||||
* Name: pm_auto_updatestate
|
||||
*
|
||||
* Description:
|
||||
* This function update the domain state and notify the power system.
|
||||
*
|
||||
* Input Parameters:
|
||||
* domain - The PM domain to check
|
||||
*
|
||||
* Returned Value:
|
||||
* None.
|
||||
*
|
||||
****************************************************************************/
|
||||
|
||||
void pm_auto_updatestate(int domain);
|
||||
|
||||
#undef EXTERN
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user