cpufreq: expose a cpufreq_quick_get_max routine
authorJesse Barnes <jbarnes@virtuousgeek.org>
Tue, 28 Jun 2011 17:59:12 +0000 (10:59 -0700)
committerKeith Packard <keithp@keithp.com>
Tue, 28 Jun 2011 20:54:26 +0000 (13:54 -0700)
commit3d73710880afa3d61cf57b5d4eb192e812eb7e4f
tree14659273e31e976706151c98beb565eafc4be694
parent6ae77e6b6ae20c280df8ca78e9c9d9a8ccfe7a98
cpufreq: expose a cpufreq_quick_get_max routine

This allows drivers and other code to get the max reported CPU frequency.
Initial use is for scaling ring frequency with GPU frequency in the i915
driver.

Signed-off-by: Jesse Barnes <jbarnes@virtuousgeek.org>
Signed-off-by: Keith Packard <keithp@keithp.com>
drivers/cpufreq/cpufreq.c
include/linux/cpufreq.h