Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756071AbbESPeY (ORCPT ); Tue, 19 May 2015 11:34:24 -0400 Received: from mail-wg0-f53.google.com ([74.125.82.53]:35705 "EHLO mail-wg0-f53.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754863AbbESPeS (ORCPT ); Tue, 19 May 2015 11:34:18 -0400 MIME-Version: 1.0 In-Reply-To: <20150519145006.GH2067@n2100.arm.linux.org.uk> References: <1431158038-3813-1-git-send-email-mcoquelin.stm32@gmail.com> <555B098A.8030202@linaro.org> <6177628.0ZDPLeVyah@wuerfel> <555B3F80.8070605@linaro.org> <20150519145006.GH2067@n2100.arm.linux.org.uk> Date: Tue, 19 May 2015 17:34:16 +0200 Message-ID: Subject: Re: [PATCH v8 09/16] clockevents/drivers: Add STM32 Timer driver From: Maxime Coquelin To: Russell King - ARM Linux Cc: Daniel Lezcano , Arnd Bergmann , =?UTF-8?Q?Uwe_Kleine=2DK=C3=B6nig?= , =?UTF-8?Q?Andreas_F=C3=A4rber?= , Geert Uytterhoeven , Rob Herring , Philipp Zabel , Linus Walleij , Stefan Agner , Peter Meerwald , Paul Bolle , Peter Hurley , Andy Shevchenko , Chanwoo Choi , Joe Perches , Vladimir Zapolskiy , Lee Jones , Daniel Thompson , Jonathan Corbet , Pawel Moll , Mark Rutland , Ian Campbell , Kumar Gala , Thomas Gleixner , Greg Kroah-Hartman , Jiri Slaby , Andrew Morton , "David S. Miller" , Mauro Carvalho Chehab , Antti Palosaari , Tejun Heo , Will Deacon , Nikolay Borisov , Rusty Russell , Kees Cook , Michal Marek , "linux-doc@vger.kernel.org" , "linux-arm-kernel@lists.infradead.org" , "linux-kernel@vger.kernel.org" , "devicetree@vger.kernel.org" , "linux-gpio@vger.kernel.org" , "linux-serial@vger.kernel.org" , Linux-Arch , "linux-api@vger.kernel.org" , Nicolae Rosia , Kamil Lulko Content-Type: text/plain; charset=UTF-8 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1215 Lines: 33 2015-05-19 16:50 GMT+02:00 Russell King - ARM Linux : > > config CLKSRC_STM32 > bool "Clocksource for STM32 SoCs" if COMPILE_TEST > depends on OF > select CLKSRC_MMIO > > This permits CLKSRC_STM32 to be selected by STM32 (provided OF is enabled, > it's always going to be for that case, right?) while allowing the option > to be visible when both OF!=n and COMPILE_TEST!=n. Yes OF is always enabled when STM32. So it fits our needs, as we only want the option to be visible when both OF!=n and COMPILE_TEST!=n. > > Remember, > > bool "string" if > depends on > > The former merely hides the option from the user _if_ the condition fails. > The latter _disables_ the option completely (except if you try and select > it, at which point you end up with a Kconfig warning about that.) Thanks for the reminder! Maxime -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/