lkml.org 
[lkml]   [2023]   [Jan]   [12]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
From
Subject[PATCH 1/3] clocksource/drivers/timer-microchip-pit64b: move COMPILE_TEST on type definition
Date
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@microchip.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
\
 
 \ /
  Last update: 2023-03-26 23:37    [W:0.028 / U:0.080 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site