1 /* 2 * Copyright (c) 2024 Intel Corporation. 3 * 4 * SPDX-License-Identifier: Apache-2.0 5 */ 6 7 #ifndef ZEPHYR_SUBSYS_PM_DEVICE_SYSTEM_MANAGED_H_ 8 #define ZEPHYR_SUBSYS_PM_DEVICE_SYSTEM_MANAGED_H_ 9 10 #ifdef CONFIG_PM_DEVICE_SYSTEM_MANAGED 11 12 bool pm_suspend_devices(void); 13 void pm_resume_devices(void); 14 15 #else 16 pm_suspend_devices(void)17bool pm_suspend_devices(void) { return true; } pm_resume_devices(void)18void pm_resume_devices(void) {} 19 20 #endif /* CONFIG_PM_DEVICE_SYSTEM_MANAGED */ 21 22 #endif /* ZEPHYR_SUBSYS_PM_DEVICE_SYSTEM_MANAGED_H_ */ 23