[PATCH 2.5] cpufreq: elanfreq compile fix

From: Dominik Brodowski (linux@brodo.de)
Date: Sat Dec 21 2002 - 13:20:44 EST


min_freq is undefined

        Dominik

diff -ruN linux-original/arch/i386/kernel/cpu/cpufreq/elanfreq.c linux/arch/i386/kernel/cpu/cpufreq/elanfreq.c
--- linux-original/arch/i386/kernel/cpu/cpufreq/elanfreq.c 2002-12-21 14:53:44.000000000 +0100
+++ linux/arch/i386/kernel/cpu/cpufreq/elanfreq.c 2002-12-21 19:18:39.000000000 +0100
@@ -307,7 +307,7 @@
         driver->policy[0].max = max_freq;
         driver->policy[0].policy = CPUFREQ_POLICY_PERFORMANCE;
         driver->policy[0].cpuinfo.max_freq = max_freq;
- driver->policy[0].cpuinfo.min_freq = min_freq;
+ driver->policy[0].cpuinfo.min_freq = 1000;
         driver->policy[0].cpuinfo.transition_latency = CPUFREQ_ETERNAL;
 
         elanfreq_driver = driver;
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Mon Dec 23 2002 - 22:00:29 EST