zephyr/subsys/power
Marcin Niestroj 0782f9c4a6 power: device: provide device_pm_state_str() with CONFIG_PM=n
So far device_pm_state_str() was built only when CONFIG_PM=y (former
CONFIG_SYSTEM_POWER_MANAGEMENT=y). 'device list' shell
command (CONFIG_DEVICE_SHELL=y) is using that function when
CONFIG_PM_DEVICE=y. This resulted in build failures when CONFIG_PM=n, as
linker could not find its implementation.

Build device_pm_state_str() function regardless of CONFIG_PM value, so
device shell module builds successfully in every case.

Signed-off-by: Marcin Niestroj <m.niestroj@grinn-global.com>
2021-01-25 14:21:00 -05:00
..
policy power: Use substate-id in pm subsystem 2021-01-22 09:31:20 -05:00
CMakeLists.txt power: standarize PM Kconfigs and cleanup 2020-12-09 15:18:29 -05:00
device_pm.c power: remove FSM from DEVICE_PM_FSM_* 2020-12-09 15:18:29 -05:00
device.c power: device: provide device_pm_state_str() with CONFIG_PM=n 2021-01-25 14:21:00 -05:00
Kconfig soc: nordic: Disable PM for SOC_NRF5340_CPUNET_QKAA 2021-01-22 09:31:20 -05:00
pm_ctrl.c power: Move pm subsystem to new power states 2021-01-22 09:31:20 -05:00
power.c power: Use substate-id in pm subsystem 2021-01-22 09:31:20 -05:00
reboot.c