drivers: timer: fix gRTC Kconfig leak

Add proper dependency to DT_HAS_NORDIC_NRF_GRTC_ENABLED to avoid leakage.

Signed-off-by: Benjamin Cabé <benjamin@zephyrproject.org>
This commit is contained in:
Benjamin Cabé 2024-04-19 22:40:52 -07:00 committed by Fabio Baltieri
parent 8304e82328
commit dce214eb3f

View file

@ -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