aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/cpufreq
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/cpufreq')
-rw-r--r--drivers/cpufreq/cpufreq.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/cpufreq/cpufreq.c b/drivers/cpufreq/cpufreq.c
index 2968ed6a9c49..ce31e6e3d982 100644
--- a/drivers/cpufreq/cpufreq.c
+++ b/drivers/cpufreq/cpufreq.c
@@ -773,7 +773,6 @@ static int cpufreq_add_dev(struct sys_device *sys_dev)
773 struct cpufreq_policy new_policy; 773 struct cpufreq_policy new_policy;
774 struct cpufreq_policy *policy; 774 struct cpufreq_policy *policy;
775 struct freq_attr **drv_attr; 775 struct freq_attr **drv_attr;
776 struct sys_device *cpu_sys_dev;
777 unsigned long flags; 776 unsigned long flags;
778 unsigned int j; 777 unsigned int j;
779 778
@@ -936,6 +935,7 @@ static int cpufreq_add_dev(struct sys_device *sys_dev)
936 /* symlink affected CPUs */ 935 /* symlink affected CPUs */
937 for_each_cpu(j, policy->cpus) { 936 for_each_cpu(j, policy->cpus) {
938 struct cpufreq_policy *managed_policy; 937 struct cpufreq_policy *managed_policy;
938 struct sys_device *cpu_sys_dev;
939 939
940 if (j == cpu) 940 if (j == cpu)
941 continue; 941 continue;