Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

pm: Fix possible undefined reference #64154

Merged
merged 2 commits into from
Oct 24, 2023

Commits on Oct 19, 2023

  1. tests: pm: Test pm_state_cpu_get_all

    Add test for pm_state_cpu_get_all API
    
    Signed-off-by: Flavio Ceolin <[email protected]>
    Flavio Ceolin committed Oct 19, 2023
    Configuration menu
    Copy the full SHA
    f077745 View commit details
    Browse the repository at this point in the history
  2. 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 <[email protected]>
    Flavio Ceolin committed Oct 19, 2023
    Configuration menu
    Copy the full SHA
    db11cc4 View commit details
    Browse the repository at this point in the history