From: Stephen Warren Date: Mon, 19 Nov 2012 23:41:20 +0000 (-0700) Subject: clocksource: add common of_clksrc_init() function X-Git-Tag: v3.9-rc1~122^2~32^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ae278a935f086775e8ae31a8ec9f7224ea25ea3c;p=pandora-kernel.git clocksource: add common of_clksrc_init() function It is desirable to move all clocksource drivers to drivers/clocksource, yet each requires its own initialization function. We'd rather not pollute 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. Signed-off-by: Stephen Warren --- Reading git-diff-tree failed