From dce214eb3f244aee907c595154cc26ae11ae8008 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Benjamin=20Cab=C3=A9?= Date: Fri, 19 Apr 2024 22:40:52 -0700 Subject: [PATCH] drivers: timer: fix gRTC Kconfig leak MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Add proper dependency to DT_HAS_NORDIC_NRF_GRTC_ENABLED to avoid leakage. Signed-off-by: Benjamin Cabé --- drivers/timer/Kconfig.nrf_grtc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/drivers/timer/Kconfig.nrf_grtc b/drivers/timer/Kconfig.nrf_grtc index 442c524fd1..0436c071fa 100644 --- a/drivers/timer/Kconfig.nrf_grtc +++ b/drivers/timer/Kconfig.nrf_grtc @@ -3,7 +3,8 @@ menuconfig NRF_GRTC_TIMER bool "nRF GRTC Timer" - default y if DT_HAS_NORDIC_NRF_GRTC_ENABLED + default y + depends on DT_HAS_NORDIC_NRF_GRTC_ENABLED select TICKLESS_CAPABLE select TIMER_HAS_64BIT_CYCLE_COUNTER select NRFX_GRTC