Skip to content

Commit 836c2cc

Browse files
Flavio Ceolinnashif
authored andcommitted
pm: device_system_managed: Fix functions return
Fix functions return when CONFIG_PM_DEVICE_SYSTEM_MANAGED is not enabled. Signed-off-by: Flavio Ceolin <[email protected]>
1 parent 2393aef commit 836c2cc

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

subsys/pm/device_system_managed.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,8 @@ void pm_resume_devices(void);
1414

1515
#else
1616

17-
bool pm_resume_devices(void) { return true; }
18-
void pm_suspend_devices(void) {}
17+
bool pm_suspend_devices(void) { return true; }
18+
void pm_resume_devices(void) {}
1919

2020
#endif /* CONFIG_PM_DEVICE_SYSTEM_MANAGED */
2121

0 commit comments

Comments
 (0)