From mboxrd@z Thu Jan 1 00:00:00 1970 From: Stephen Warren Subject: Re: [PATCH V4 2/3] clocksource: add common of_clksrc_init() function Date: Wed, 02 Jan 2013 11:16:19 -0700 Message-ID: <50E47973.9040401@wwwdotorg.org> References: <1353453142-4973-1-git-send-email-swarren@wwwdotorg.org> <1353453142-4973-2-git-send-email-swarren@wwwdotorg.org> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <1353453142-4973-2-git-send-email-swarren-3lzwWm7+Weoh9ZMKESR00Q@public.gmane.org> Sender: linux-tegra-owner-u79uwXL29TY76Z2rM5mHXA@public.gmane.org To: Stephen Warren Cc: John Stultz , Thomas Gleixner , Grant Likely , Rob Herring , Arnd Bergmann , Olof Johansson , Josh Cartwright , Thomas Petazzoni , linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r@public.gmane.org, linux-kernel-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, linux-tegra-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, Stephen Warren List-Id: linux-tegra@vger.kernel.org On 11/20/2012 04:12 PM, Stephen Warren wrote: > From: Stephen Warren > > 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. 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.