Commit 6d7937c3 authored by Dominik Brodowski's avatar Dominik Brodowski Committed by Linus Torvalds

[PATCH] cpufreq: remove usage of #typedef

parent f8e94f0e
...@@ -107,12 +107,10 @@ static inline unsigned long cpufreq_scale(unsigned long old, u_int div, u_int mu ...@@ -107,12 +107,10 @@ static inline unsigned long cpufreq_scale(unsigned long old, u_int div, u_int mu
* CPUFREQ DRIVER INTERFACE * * CPUFREQ DRIVER INTERFACE *
*********************************************************************/ *********************************************************************/
typedef int (*cpufreq_policy_t) (struct cpufreq_policy *policy);
struct cpufreq_driver { struct cpufreq_driver {
/* needed by all drivers */ /* needed by all drivers */
cpufreq_policy_t verify; int (*verify) (struct cpufreq_policy *policy);
cpufreq_policy_t setpolicy; int (*setpolicy) (struct cpufreq_policy *policy);
struct cpufreq_policy *policy; struct cpufreq_policy *policy;
/* 2.4. compatible API */ /* 2.4. compatible API */
#ifdef CONFIG_CPU_FREQ_24_API #ifdef CONFIG_CPU_FREQ_24_API
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment