projects
/
deliverable
/
linux.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
cpufreq: use cpufreq_driver->flags to mark CPUFREQ_HAVE_GOVERNOR_PER_POLICY
[deliverable/linux.git]
/
drivers
/
cpufreq
/
cpufreq.c
diff --git
a/drivers/cpufreq/cpufreq.c
b/drivers/cpufreq/cpufreq.c
index 3a811df43e146f908dd272a196a9f2cde86395d8..fc9110c9f10df2e828f54cb9854a6ac54b73fefa 100644
(file)
--- a/
drivers/cpufreq/cpufreq.c
+++ b/
drivers/cpufreq/cpufreq.c
@@
-133,7
+133,7
@@
static DEFINE_MUTEX(cpufreq_governor_mutex);
bool have_governor_per_policy(void)
{
- return
cpufreq_driver->have_governor_per_policy
;
+ return
!!(cpufreq_driver->flags & CPUFREQ_HAVE_GOVERNOR_PER_POLICY)
;
}
EXPORT_SYMBOL_GPL(have_governor_per_policy);
This page took
0.0241 seconds
and
5
git commands to generate.