Re: [PATCH v3 7/7] clk: at91: add sam9x60 pmc driver

From: Alexandre Belloni
Date: Thu Apr 25 2019 - 17:10:15 EST


On 25/04/2019 13:58:10-0700, Stephen Boyd wrote:
> > IIRC two clocks are used by the clocksource and having it as a platform
> > device make the clocksource driver fail with -EPROBE_DEFER.
> >
>
> Ok. I'll add a comment in the driver. It needs to be
> CLK_OF_DECLARE_DRIVER() because it's used somewhere else too? Or it can
> be CLK_OF_DECLARE() instead?

It is coming from that comment:
https://lore.kernel.org/lkml/153573753043.93865.2420370848457480370@xxxxxxxxxxxxxxxxxxxxxxxxxx/

Maybe I misinterpreted it.

--
Alexandre Belloni, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com