Skip to content

Commit 91715af

Browse files
Flavio Ceolinnashif
authored andcommitted
power: Reducing the scope of a private function
Setting pm_policy_mgr static. Signed-off-by: Flavio Ceolin <[email protected]>
1 parent 8fe3866 commit 91715af

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

subsys/power/power.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,7 @@ static enum power_states _handle_device_abort(enum power_states state)
9999
return pm_state;
100100
}
101101

102-
enum power_states pm_policy_mgr(int32_t ticks)
102+
static enum power_states pm_policy_mgr(int32_t ticks)
103103
{
104104
bool deep_sleep;
105105
#if CONFIG_PM_DEVICE

0 commit comments

Comments
 (0)