diff options
author | Borislav Petkov <bp@suse.de> | 2013-01-28 08:50:39 -0500 |
---|---|---|
committer | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | 2013-02-01 18:01:15 -0500 |
commit | ab45bd9bed36ad6c471b090bb8846ab7228fdf11 (patch) | |
tree | 6f9582d6a3877e1b3e7be87f76b3668eff368235 /include/linux/cpufreq.h | |
parent | c0939e46a84c6af89d6f093a34c1c9341dfe1d6e (diff) |
cpufreq: Sort function prototypes properly
Move function prototypes to a place where they logically fit better.
Signed-off-by: Borislav Petkov <bp@suse.de>
Acked-by: Viresh Kumar <viresh.kumar@linaro.org>
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 | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/include/linux/cpufreq.h b/include/linux/cpufreq.h index 1f3a726640e8..5fdc6c6e3f8a 100644 --- a/include/linux/cpufreq.h +++ b/include/linux/cpufreq.h | |||
@@ -311,6 +311,9 @@ __ATTR(_name, 0444, show_##_name, NULL) | |||
311 | static struct global_attr _name = \ | 311 | static struct global_attr _name = \ |
312 | __ATTR(_name, 0644, show_##_name, store_##_name) | 312 | __ATTR(_name, 0644, show_##_name, store_##_name) |
313 | 313 | ||
314 | struct cpufreq_policy *cpufreq_cpu_get(unsigned int cpu); | ||
315 | void cpufreq_cpu_put(struct cpufreq_policy *data); | ||
316 | const char *cpufreq_get_current_driver(void); | ||
314 | 317 | ||
315 | /********************************************************************* | 318 | /********************************************************************* |
316 | * CPUFREQ 2.6. INTERFACE * | 319 | * CPUFREQ 2.6. INTERFACE * |
@@ -400,8 +403,6 @@ int cpufreq_frequency_table_target(struct cpufreq_policy *policy, | |||
400 | 403 | ||
401 | /* the following 3 funtions are for cpufreq core use only */ | 404 | /* the following 3 funtions are for cpufreq core use only */ |
402 | struct cpufreq_frequency_table *cpufreq_frequency_get_table(unsigned int cpu); | 405 | struct cpufreq_frequency_table *cpufreq_frequency_get_table(unsigned int cpu); |
403 | struct cpufreq_policy *cpufreq_cpu_get(unsigned int cpu); | ||
404 | void cpufreq_cpu_put(struct cpufreq_policy *data); | ||
405 | 406 | ||
406 | /* the following are really really optional */ | 407 | /* the following are really really optional */ |
407 | extern struct freq_attr cpufreq_freq_attr_scaling_available_freqs; | 408 | extern struct freq_attr cpufreq_freq_attr_scaling_available_freqs; |
@@ -411,5 +412,4 @@ void cpufreq_frequency_table_get_attr(struct cpufreq_frequency_table *table, | |||
411 | void cpufreq_frequency_table_update_policy_cpu(struct cpufreq_policy *policy); | 412 | void cpufreq_frequency_table_update_policy_cpu(struct cpufreq_policy *policy); |
412 | 413 | ||
413 | void cpufreq_frequency_table_put_attr(unsigned int cpu); | 414 | void cpufreq_frequency_table_put_attr(unsigned int cpu); |
414 | const char *cpufreq_get_current_driver(void); | ||
415 | #endif /* _LINUX_CPUFREQ_H */ | 415 | #endif /* _LINUX_CPUFREQ_H */ |