diff mbox


Message ID 20091009083028.61f44133.rdunlap@xenotime.net (mailing list archive)
State New, archived
Headers show

Commit Message

Randy Dunlap Oct. 9, 2009, 3:30 p.m. UTC
diff mbox


--- linux-next-20091006.orig/include/linux/cpufreq.h
+++ linux-next-20091006/include/linux/cpufreq.h
@@ -291,8 +291,15 @@  struct global_attr {
 int cpufreq_get_policy(struct cpufreq_policy *policy, unsigned int cpu);
 int cpufreq_update_policy(unsigned int cpu);
 /* query the current CPU frequency (in kHz). If zero, cpufreq couldn't detect it */
 unsigned int cpufreq_get(unsigned int cpu);
+static inline unsigned int cpufreq_get(unsigned int cpu)
+	return 0;
 /* query the last known CPU freq (in kHz). If zero, cpufreq couldn't detect it */