From: Paul Mackerras Date: Tue, 8 Nov 2005 01:13:38 +0000 (+1100) Subject: powerpc: Fix typo in pmac_cpufreq_resume X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=22358ea8e1e88d65b073c3d2bb85d8c4e3bd44c1;p=GitHub%2FLineageOS%2Fandroid_kernel_samsung_universal7580.git powerpc: Fix typo in pmac_cpufreq_resume Signed-off-by: Paul Mackerras --- diff --git a/arch/powerpc/platforms/powermac/cpufreq_32.c b/arch/powerpc/platforms/powermac/cpufreq_32.c index 7960a7bfca0..56fd4e05fed 100644 --- a/arch/powerpc/platforms/powermac/cpufreq_32.c +++ b/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