From mboxrd@z Thu Jan 1 00:00:00 1970 From: Maxime Coquelin Subject: Re: [PATCH v8 09/16] clockevents/drivers: Add STM32 Timer driver Date: Tue, 19 May 2015 17:34:16 +0200 Message-ID: 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> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Return-path: In-Reply-To: <20150519145006.GH2067@n2100.arm.linux.org.uk> Sender: linux-arch-owner@vger.kernel.org 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 List-Id: linux-api@vger.kernel.org 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