Re: [PATCH V4 2/3] clocksource: add common of_clksrc_init() function

From: Stephen Warren
Date: Wed Jan 02 2013 - 13:16:11 EST


On 11/20/2012 04:12 PM, Stephen Warren wrote:
> From: Stephen Warren <swarren@xxxxxxxxxx>
>
> It is desirable to move all clocksource drivers to drivers/clocksource,
> yet each requires its own initialization function. We'd rather not
> pollute <linux/> with a header for each function. Instead, create a
> single of_clksrc_init() function which will determine which clocksource
> driver to initialize based on device tree.
>
> Based on a similar patch for drivers/irqchip by Thomas Petazzoni.

I have applied this one patch to Tegra's for-3.9/arm-timer-rework branch
since. I'll send a pull request to include this is arm-soc in the next
day or two, so that others can build changes on top of it.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/