s.ozlabs.org; Li Yang-R58472
> Subject: Re: [PATCH v3] cpufreq: Add cpufreq driver for Freescale e500mc
> SoCs
>
> On Fri, Mar 29, 2013 at 11:22 AM, wrote:
> > diff --git a/drivers/cpufreq/ppc-corenet-cpufreq.c
> > b/drivers/cpufreq/ppc-corenet-cpufreq.c
>
> > +sta
On Fri, Mar 29, 2013 at 11:22 AM, wrote:
> diff --git a/drivers/cpufreq/ppc-corenet-cpufreq.c
> b/drivers/cpufreq/ppc-corenet-cpufreq.c
> +static int corenet_cpufreq_cpu_init(struct cpufreq_policy *policy)
> +{
> + for (i = 0; i < count; i++) {
> + table[i].index = i;
One
On 29 March 2013 11:22, wrote:
> diff --git a/drivers/cpufreq/ppc-corenet-cpufreq.c
> b/drivers/cpufreq/ppc-corenet-cpufreq.c
> +
Add following here for better debug prints (sorry, i should have done
it earlier)
#define pr_fmt(fmt) KBUILD_MODNAME ": " fmt
> +#include
> +#include
> +#include
From: Tang Yuantian
Add cpufreq driver for Freescale e500mc, e5500 and e6500 SoCs
which are capable of changing the frequency of CPU dynamically
Signed-off-by: Tang Yuantian
Signed-off-by: Li Yang
---
v3:
- change sizeof(struct name).. to sizeof(*p)
- remove the struct cpufreq_