From: 管雪涛 <gxt@pku.edu.cn>
To: Chen Gang <gang.chen.5i5j@gmail.com>
Cc: Guan Xuetao <gxt@mprc.pku.edu.cn>,
rjw@rjwysocki.net, viresh kumar <viresh.kumar@linaro.org>,
cpufreq@vger.kernel.org, linux-pm@vger.kernel.org,
linux-kernel@vger.kernel.org
Subject: 回复: [PATCH] drivers:cpufreq:unicore32: fix typo issue for 'clk'
Date: Tue, 8 Apr 2014 11:04:28 +0800 (CST) [thread overview]
Message-ID: <620835913.18252.1396926268726.JavaMail.root@bj-mail03.pku.edu.cn> (raw)
In-Reply-To: <53429445.5000005@gmail.com>
Thanks,
Acked-by: Xuetao Guan <gxt@mprc.pku.edu.cn>
----- Chen Gang <gang.chen.5i5j@gmail.com> 写道:
> 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@gmail.com>
> ---
> drivers/cpufreq/unicore2-cpufreq.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/drivers/cpufreq/unicore2-cpufreq.c b/drivers/cpufreq/unicore2-cpufreq.c
> index 13be802..8d045af 100644
> --- a/drivers/cpufreq/unicore2-cpufreq.c
> +++ b/drivers/cpufreq/unicore2-cpufreq.c
> @@ -45,7 +45,7 @@ static int ucv2_target(struct cpufreq_policy *policy,
> freqs.new = target_freq;
>
> cpufreq_freq_transition_begin(policy, &freqs);
> - ret = clk_set_rate(policy->mclk, target_freq * 1000);
> + ret = clk_set_rate(policy->clk, target_freq * 1000);
> cpufreq_freq_transition_end(policy, &freqs, ret);
>
> return ret;
> --
> 1.7.9.5
prev parent reply other threads:[~2014-04-08 3:14 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-04-07 12:04 Chen Gang
2014-04-07 12:08 ` Viresh Kumar
2014-04-08 1:01 ` Chen Gang
2014-04-08 4:08 ` Viresh Kumar
2014-04-08 4:39 ` Chen Gang
2014-04-08 5:29 ` Viresh Kumar
2014-04-08 6:51 ` Chen Gang
2014-04-08 11:11 ` Rafael J. Wysocki
2014-04-08 3:04 ` 管雪涛 [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=620835913.18252.1396926268726.JavaMail.root@bj-mail03.pku.edu.cn \
--to=gxt@pku.edu.cn \
--cc=cpufreq@vger.kernel.org \
--cc=gang.chen.5i5j@gmail.com \
--cc=gxt@mprc.pku.edu.cn \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-pm@vger.kernel.org \
--cc=rjw@rjwysocki.net \
--cc=viresh.kumar@linaro.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®