[TRIVIAL] cpufreq: remove usage of #typedef

[TRIVIAL] cpufreq: remove usage of #typedef

Post by Dominik Brodowsk » Mon, 30 Dec 2002 01:30:06



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

  *                      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
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in

More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/