Skip to content
Commit 752138df authored by Len Brown's avatar Len Brown
Browse files

cpuidle: make cpuidle_curr_driver static



cpuidle_register_driver() sets cpuidle_curr_driver
cpuidle_unregister_driver() clears cpuidle_curr_driver

We should't expose cpuidle_curr_driver to
potential modification except via these interfaces.
So make it static and create cpuidle_get_driver() to observe it.

Signed-off-by: default avatarLen Brown <len.brown@intel.com>
parent c0d64cb0
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment