* Dave Gerlach <d-gerlach@xxxxxx> [140716 13:19]: > On 07/15/2014 01:48 AM, Tony Lindgren wrote: > > > > It's best to register these kind of functions as platform_data > > in pdata-quirks.c auxdata. That way when this moves to live > > in drivers/clocksource the driver does not need to know anything > > about the interconnect specific registers. > > Perhaps I spoke too soon on this, I can't use pdata-quirks right now to pass the > idle/unidle functions. The clockevent source is special and reads the dt node > itself and then marks it as disabled so nothing else can touch it. No device is > created and no auxdata matched. I will gladly fix it up once the driver is ready > to move but right now I can't use any existing functionality to do it. OK. So maybe just initialize the function pointers during init and use appropriate naming so the function pointers will stay usable later on too once it's a driver. Regards, Tony -- To unsubscribe from this list: send the line "unsubscribe linux-omap" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html