diff options
author | 2010-05-22 16:57:26 -0400 | |
---|---|---|
committer | 2010-05-27 21:06:58 -0400 | |
commit | 752138df0dc2daaae09379c754caeb08c97905dc (patch) | |
tree | 4908627df11ccb42570fc3525c560f89c444781c /tools/perf/util/trace-event-scripting.c | |
parent | cpuidle: add cpuidle_unregister_driver() error check (diff) | |
download | linux-dev-752138df0dc2daaae09379c754caeb08c97905dc.tar.xz linux-dev-752138df0dc2daaae09379c754caeb08c97905dc.zip |
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: Len Brown <len.brown@intel.com>
Diffstat (limited to 'tools/perf/util/trace-event-scripting.c')
0 files changed, 0 insertions, 0 deletions