diff options
Diffstat (limited to 'drivers/cpufreq/cpufreq_performance.c')
-rw-r--r-- | drivers/cpufreq/cpufreq_performance.c | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/drivers/cpufreq/cpufreq_performance.c b/drivers/cpufreq/cpufreq_performance.c index de91e3371ef8..e8e1451ef1c1 100644 --- a/drivers/cpufreq/cpufreq_performance.c +++ b/drivers/cpufreq/cpufreq_performance.c | |||
@@ -15,7 +15,8 @@ | |||
15 | #include <linux/cpufreq.h> | 15 | #include <linux/cpufreq.h> |
16 | #include <linux/init.h> | 16 | #include <linux/init.h> |
17 | 17 | ||
18 | #define dprintk(msg...) cpufreq_debug_printk(CPUFREQ_DEBUG_GOVERNOR, "performance", msg) | 18 | #define dprintk(msg...) \ |
19 | cpufreq_debug_printk(CPUFREQ_DEBUG_GOVERNOR, "performance", msg) | ||
19 | 20 | ||
20 | 21 | ||
21 | static int cpufreq_governor_performance(struct cpufreq_policy *policy, | 22 | static int cpufreq_governor_performance(struct cpufreq_policy *policy, |
@@ -24,8 +25,10 @@ static int cpufreq_governor_performance(struct cpufreq_policy *policy, | |||
24 | switch (event) { | 25 | switch (event) { |
25 | case CPUFREQ_GOV_START: | 26 | case CPUFREQ_GOV_START: |
26 | case CPUFREQ_GOV_LIMITS: | 27 | case CPUFREQ_GOV_LIMITS: |
27 | dprintk("setting to %u kHz because of event %u\n", policy->max, event); | 28 | dprintk("setting to %u kHz because of event %u\n", |
28 | __cpufreq_driver_target(policy, policy->max, CPUFREQ_RELATION_H); | 29 | policy->max, event); |
30 | __cpufreq_driver_target(policy, policy->max, | ||
31 | CPUFREQ_RELATION_H); | ||
29 | break; | 32 | break; |
30 | default: | 33 | default: |
31 | break; | 34 | break; |