RE: [PATCH 3/3] cpufreq: Add cpufreq driver for Freescale e500mc SOCs

2013-03-27 Thread Tang Yuantian-B29983
> > + return ret; > > + > > + pr_info("Freescale PowerPC corenet CPU frequency scaling driver\n"); > > + > > + return ret; > > +} > > + > > +static void __exit ppc_corenet_cpufreq_exit(void) { > > + cpufreq_unregister_driver(&ppc_corenet_cpufreq_driver); > > +} > > + > > +module_ini

Re: [PATCH 3/3] cpufreq: Add cpufreq driver for Freescale e500mc SOCs

2013-03-27 Thread Kim Phillips
On Tue, 26 Mar 2013 10:36:31 +0800 wrote: > +static int __init ppc_corenet_cpufreq_init(void) > +{ > + int ret = 0; > + struct device_node *np; > + const struct of_device_id *match; > + > + np = of_find_matching_node(NULL, node_matches); > + if (!np) > + return -E

Re: [PATCH 3/3] cpufreq: Add cpufreq driver for Freescale e500mc SOCs

2013-03-25 Thread Viresh Kumar
On Tue, Mar 26, 2013 at 8:06 AM, wrote: > diff --git a/drivers/cpufreq/Kconfig.powerpc b/drivers/cpufreq/Kconfig.powerpc > index e76992f..6339db4 100644 > --- a/drivers/cpufreq/Kconfig.powerpc > +++ b/drivers/cpufreq/Kconfig.powerpc > @@ -5,3 +5,13 @@ config CPU_FREQ_MAPLE > help >