Parcourir la source

powerpc: Fix typo in pmac_cpufreq_resume

Signed-off-by: Paul Mackerras <paulus@samba.org>
Paul Mackerras il y a 19 ans
Parent
commit
22358ea8e1
1 fichiers modifiés avec 1 ajouts et 1 suppressions
  1. 1 1
      arch/powerpc/platforms/powermac/cpufreq_32.c

+ 1 - 1
arch/powerpc/platforms/powermac/cpufreq_32.c

@@ -462,7 +462,7 @@ static int pmac_cpufreq_resume(struct cpufreq_policy *policy)
 	/* If we resume, first check if we have a get() function */
 	if (get_speed_proc)
 		cur_freq = get_speed_proc();
-	else)
+	else
 		cur_freq = 0;
 
 	/* We don't, hrm... we don't really know our speed here, best