Patch against kernel-adaptation-mrst-2.6.37.6-70.1
(linux-2.6.37-sfi-p-states-update.patch is appiled).

cpuinfo_cur_freq is used to show current CPU frequency as obtained from
the hardware, but we can not clarify how to get this value in practice.
Remove get function of sfi_cpufreq_driver for cpuinfo_cur_freq is
optional (should be defined, if possible).

Signed-off-by: Major Lee <major_...@wistron.com>
---

--- linux-2.6.37.bak/arch/x86/kernel/cpu/cpufreq/sfi-cpufreq.c
2011-06-07 17:03:02.677370904 +0800
+++ linux-2.6.37/arch/x86/kernel/cpu/cpufreq/sfi-cpufreq.c
2011-06-09 13:24:16.238205000 +0800
@@ -364,7 +364,6 @@ static int sfi_cpufreq_cpu_init(struct c
        if (result)
                goto err_freqfree;
 
-       sfi_cpufreq_driver.get = get_cur_freq_on_cpu;
        policy->cur = get_cur_freq_on_cpu(cpu);
 
 

Attachment: sfi-cpufreq-remove-cpuinfo-cur-freq-support.patch
Description: sfi-cpufreq-remove-cpuinfo-cur-freq-support.patch

_______________________________________________
MeeGo-kernel mailing list
MeeGo-kernel@lists.meego.com
http://lists.meego.com/listinfo/meego-kernel

Reply via email to