* [PATCH 2.5.53][TRIVIAL] cpufreq: remove usage of #typedef
@ 2002-12-28 23:15 Dominik Brodowski
0 siblings, 0 replies; only message in thread
From: Dominik Brodowski @ 2002-12-28 23:15 UTC (permalink / raw)
To: torvalds; +Cc: linux-kernel, cpufreq
diff -ruN linux-original/include/linux/cpufreq.h linux/include/linux/cpufreq.h
--- linux-original/include/linux/cpufreq.h 2002-12-25 17:45:52.000000000 +0100
+++ linux/include/linux/cpufreq.h 2002-12-27 10:56:55.000000000 +0100
@@ -107,12 +107,10 @@
* CPUFREQ DRIVER INTERFACE *
*********************************************************************/
-typedef int (*cpufreq_policy_t) (struct cpufreq_policy *policy);
-
struct cpufreq_driver {
/* needed by all drivers */
- cpufreq_policy_t verify;
- cpufreq_policy_t setpolicy;
+ int (*verify) (struct cpufreq_policy *policy);
+ int (*setpolicy) (struct cpufreq_policy *policy);
struct cpufreq_policy *policy;
/* 2.4. compatible API */
#ifdef CONFIG_CPU_FREQ_24_API
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2002-12-28 23:08 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-12-28 23:15 [PATCH 2.5.53][TRIVIAL] cpufreq: remove usage of #typedef Dominik Brodowski
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.