Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
PM: cpuidle: Fix cpuidle_poll_state_init() prototype
commit d7212cf upstream. Commit f859422 (x86: PM: Make APM idle driver initialize polling state) made apm_init() call cpuidle_poll_state_init(), but that only is defined for CONFIG_CPU_IDLE set, so make the empty stub of it available for CONFIG_CPU_IDLE unset too to fix the resulting build issue. Fixes: f859422 (x86: PM: Make APM idle driver initialize polling state) Signed-off-by: Rafael J. Wysocki <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
- Loading branch information