From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752942Ab3ABSQ1 (ORCPT ); Wed, 2 Jan 2013 13:16:27 -0500 Received: from avon.wwwdotorg.org ([70.85.31.133]:41785 "EHLO avon.wwwdotorg.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752774Ab3ABSQY (ORCPT ); Wed, 2 Jan 2013 13:16:24 -0500 Message-ID: <50E47973.9040401@wwwdotorg.org> Date: Wed, 02 Jan 2013 11:16:19 -0700 From: Stephen Warren User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/17.0 Thunderbird/17.0 MIME-Version: 1.0 To: Stephen Warren CC: John Stultz , Thomas Gleixner , Grant Likely , Rob Herring , Arnd Bergmann , Olof Johansson , Josh Cartwright , Thomas Petazzoni , linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, linux-tegra@vger.kernel.org, Stephen Warren Subject: Re: [PATCH V4 2/3] clocksource: add common of_clksrc_init() function References: <1353453142-4973-1-git-send-email-swarren@wwwdotorg.org> <1353453142-4973-2-git-send-email-swarren@wwwdotorg.org> In-Reply-To: <1353453142-4973-2-git-send-email-swarren@wwwdotorg.org> X-Enigmail-Version: 1.4.6 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@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.