diff mbox

[1/2] clocksource: Kconfig: replace USE_OF with OF

Message ID 1434541351-9699-2-git-send-email-borneo.antonio@gmail.com
State Not Applicable, archived
Delegated to: David Miller
Headers show

Commit Message

Antonio Borneo June 17, 2015, 11:42 a.m. UTC
USE_OF is used as intermediate Kconfig option by few
arch's (ARM, MIPS, Xtensa); in all these cases it
implies setting option OF too.
Replace the only instance of USE_OF in clocksource
with OF.

Signed-off-by: Antonio Borneo <borneo.antonio@gmail.com>
---

 drivers/clocksource/Kconfig | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

Daniel Lezcano June 29, 2015, 9:01 a.m. UTC | #1
On 06/17/2015 01:42 PM, Antonio Borneo wrote:
> USE_OF is used as intermediate Kconfig option by few
> arch's (ARM, MIPS, Xtensa); in all these cases it
> implies setting option OF too.
> Replace the only instance of USE_OF in clocksource
> with OF.
>
> Signed-off-by: Antonio Borneo <borneo.antonio@gmail.com>
> ---

Applied for 4.3

Thanks !

   -- Daniel
diff mbox

Patch

diff --git a/drivers/clocksource/Kconfig b/drivers/clocksource/Kconfig
index 51d7865f..d7410c2 100644
--- a/drivers/clocksource/Kconfig
+++ b/drivers/clocksource/Kconfig
@@ -254,7 +254,7 @@  config CLKSRC_MIPS_GIC
 
 config CLKSRC_PXA
 	def_bool y if ARCH_PXA || ARCH_SA1100
-	select CLKSRC_OF if USE_OF
+	select CLKSRC_OF if OF
 	help
 	  This enables OST0 support available on PXA and SA-11x0
 	  platforms.