[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20230112114212.1161136-2-claudiu.beznea@microchip.com>
Date: Thu, 12 Jan 2023 13:42:10 +0200
From: Claudiu Beznea <claudiu.beznea@...rochip.com>
To: <daniel.lezcano@...aro.org>, <tglx@...utronix.de>
CC: <linux-kernel@...r.kernel.org>,
Claudiu Beznea <claudiu.beznea@...rochip.com>
Subject: [PATCH 1/3] clocksource/drivers/timer-microchip-pit64b: move COMPILE_TEST on type definition
Move COMPILE_TEST to menu type definition. This, along with commit
f611af4c3bfa ("ARM: at91: Kconfig: implement PIT64B selection") and the
next one in this series allows simply for driver to compile only on ARM
based platforms which allows further implementing delay timer on top of
PIT64B.
Signed-off-by: Claudiu Beznea <claudiu.beznea@...rochip.com>
---
drivers/clocksource/Kconfig | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/drivers/clocksource/Kconfig b/drivers/clocksource/Kconfig
index 4469e7f555e9..0e87d478a2fa 100644
--- a/drivers/clocksource/Kconfig
+++ b/drivers/clocksource/Kconfig
@@ -705,8 +705,8 @@ config INGENIC_OST
Support for the Operating System Timer of the Ingenic JZ SoCs.
config MICROCHIP_PIT64B
- bool "Microchip PIT64B support"
- depends on OF || COMPILE_TEST
+ bool "Microchip PIT64B support" if COMPILE_TEST
+ depends on OF
select TIMER_OF
help
This option enables Microchip PIT64B timer for Atmel
--
2.34.1
Powered by blists - more mailing lists