pm: Fix possible undefined reference
Function pm_state_cpu_get_all is declared in state.h
but it is only implemented if CONFIG_PM is set.
Add an inline implementation for when CONFIG_PM is not set.
Signed-off-by:
Flavio Ceolin <flavio.ceolin@intel.com>
Loading
Please sign in to comment