diff options
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/cpufreq/cpufreq.c | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/drivers/cpufreq/cpufreq.c b/drivers/cpufreq/cpufreq.c index 4fc0cb79f18f..8e561313d094 100644 --- a/drivers/cpufreq/cpufreq.c +++ b/drivers/cpufreq/cpufreq.c | |||
@@ -1003,9 +1003,10 @@ static int cpufreq_resume(struct sys_device * sysdev) | |||
1003 | if (unlikely(cur_freq != cpu_policy->cur)) { | 1003 | if (unlikely(cur_freq != cpu_policy->cur)) { |
1004 | struct cpufreq_freqs freqs; | 1004 | struct cpufreq_freqs freqs; |
1005 | 1005 | ||
1006 | printk(KERN_WARNING "Warning: CPU frequency is %u, " | 1006 | if (!(cpufreq_driver->flags & CPUFREQ_PM_NO_WARN)) |
1007 | "cpufreq assumed %u kHz.\n", | 1007 | printk(KERN_WARNING "Warning: CPU frequency" |
1008 | cur_freq, cpu_policy->cur); | 1008 | "is %u, cpufreq assumed %u kHz.\n", |
1009 | cur_freq, cpu_policy->cur); | ||
1009 | 1010 | ||
1010 | freqs.cpu = cpu; | 1011 | freqs.cpu = cpu; |
1011 | freqs.old = cpu_policy->cur; | 1012 | freqs.old = cpu_policy->cur; |