On 06/27/2012 10:19 AM, Hui Wang wrote: > Some i.MX chip (like i.MX6) has two clocks to drive flexcan module, > one is ipg clock, another is serial clock, if we want the flexcan > to work, we need to enable both two clocks, but current driver only > support one clock. > > My modification doesn't break existing platforms. For those without > clocks (like powerpc platforms), two clk pointers are set to NULL as > before, for those only have one clock (like i.MX25 and i.MX35), the > second clk pointer is set to NULL. Looks good at the first sight. Will test on hardware later. Tnx, Marc -- Pengutronix e.K. | Marc Kleine-Budde | Industrial Linux Solutions | Phone: +49-231-2826-924 | Vertretung West/Dortmund | Fax: +49-5121-206917-5555 | Amtsgericht Hildesheim, HRA 2686 | http://www.pengutronix.de |