From mboxrd@z Thu Jan 1 00:00:00 1970 From: Arnd Bergmann Subject: Re: [PATCH v2 14/18] ARM: Add STM32 family machine Date: Tue, 10 Mar 2015 16:10:21 +0100 Message-ID: <2736580.bRymLWnSQl@wuerfel> References: <1424455277-29983-1-git-send-email-mcoquelin.stm32@gmail.com> <1424455277-29983-15-git-send-email-mcoquelin.stm32@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7Bit Return-path: In-Reply-To: <1424455277-29983-15-git-send-email-mcoquelin.stm32@gmail.com> Sender: linux-kernel-owner@vger.kernel.org To: linux-arm-kernel@lists.infradead.org Cc: Maxime Coquelin , u.kleine-koenig@pengutronix.de, afaerber@suse.de, geert@linux-m68k.org, Rob Herring , Philipp Zabel , Jonathan Corbet , Pawel Moll , Mark Rutland , Ian Campbell , Kumar Gala , Russell King , Daniel Lezcano , Thomas Gleixner , Linus Walleij , Greg Kroah-Hartman , Jiri Slaby , Andrew Morton , "David S. Miller" , Mauro Carvalho Chehab , Joe Perches , Antti Palosaari , Tejun Heo , Will Deacon , N List-Id: linux-api@vger.kernel.org On Friday 20 February 2015 19:01:13 Maxime Coquelin wrote: > +static void __init stm32_timer_init(void) > +{ > + of_clk_init(NULL); > + reset_controller_of_init(); > + clocksource_of_init(); > + > +} Don't do that. As I said, I'd rather not introduce reset_controller_of_init() at all, but if we end up doing it, it should be run by default for any machine that has an empty timer_init callback. Arnd