diff options
author | Borislav Petkov <bp@suse.de> | 2013-01-20 05:24:28 -0500 |
---|---|---|
committer | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | 2013-02-01 18:01:15 -0500 |
commit | 9d95046e5d6afd6d7ae86fb71ab59c6faf0db8de (patch) | |
tree | f5f4314238fbc548ec9e3ab48affeeb8682577c8 /include/linux/cpufreq.h | |
parent | 741220ea86709717e1d392b5a9617dfe90cd3802 (diff) |
cpufreq: Add a get_current_driver helper
Add a helper function to return cpufreq_driver->name.
Signed-off-by: Borislav Petkov <bp@suse.de>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Diffstat (limited to 'include/linux/cpufreq.h')
-rw-r--r-- | include/linux/cpufreq.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/cpufreq.h b/include/linux/cpufreq.h index 52be2d0c994a..1f3a726640e8 100644 --- a/include/linux/cpufreq.h +++ b/include/linux/cpufreq.h | |||
@@ -411,4 +411,5 @@ void cpufreq_frequency_table_get_attr(struct cpufreq_frequency_table *table, | |||
411 | void cpufreq_frequency_table_update_policy_cpu(struct cpufreq_policy *policy); | 411 | void cpufreq_frequency_table_update_policy_cpu(struct cpufreq_policy *policy); |
412 | 412 | ||
413 | void cpufreq_frequency_table_put_attr(unsigned int cpu); | 413 | void cpufreq_frequency_table_put_attr(unsigned int cpu); |
414 | const char *cpufreq_get_current_driver(void); | ||
414 | #endif /* _LINUX_CPUFREQ_H */ | 415 | #endif /* _LINUX_CPUFREQ_H */ |