Re: [PATCH] drivers:cpufreq:unicore32: fix typo issue for 'clk'

From: Chen Gang
Date: Mon Apr 07 2014 - 21:01:22 EST


On 04/07/2014 08:08 PM, Viresh Kumar wrote:
> On 7 April 2014 17:34, Chen Gang <gang.chen.5i5j@xxxxxxxxx> wrote:
>> Need use 'clk' instead of 'mclk', which is the original removed local
>> variable.
>>
>> The related original commit:
>>
>> "652ed95 cpufreq: introduce cpufreq_generic_get() routine"
>>
>> The related error with allmodconfig for unicore32:
>>
>> CC drivers/cpufreq/unicore2-cpufreq.o
>> drivers/cpufreq/unicore2-cpufreq.c: In function 'ucv2_target':
>> drivers/cpufreq/unicore2-cpufreq.c:48: error: 'struct cpufreq_policy' has no member named 'mclk'
>> make[2]: *** [drivers/cpufreq/unicore2-cpufreq.o] Error 1
>> make[1]: *** [drivers/cpufreq] Error 2
>> make: *** [drivers] Error 2
>>
>>
>> Signed-off-by: Chen Gang <gang.chen.5i5j@xxxxxxxxx>
>> ---
>> drivers/cpufreq/unicore2-cpufreq.c | 2 +-
>> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> Stupid mistake.
>

It is very easy to lead other members to make mistakes, or let ourself
make mistakes.

> Acked-by: Viresh Kumar <viresh.kumar@xxxxxxxxxx>
>
> @stable: please apply this for v3.14, as it broke in that cycle..
>

Thank you.


Thanks.
--
Chen Gang

Open, share, and attitude like air, water, and life which God blessed
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/