> > + 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_init(ppc_corenet_cpufreq_init); > > +module_exit(ppc_corenet_cpufreq_exit); > > this needs to be a module_platform_driver. > The compatible string is used for clock driver. This driver can not be a platform_driver.
-Yuantian _______________________________________________ Linuxppc-dev mailing list Linuxppc-dev@lists.ozlabs.org https://lists.ozlabs.org/listinfo/linuxppc-dev