From 89d0fe2bb3ed064805ec7fbaf4c83a1110d55634 Mon Sep 17 00:00:00 2001 From: Jonathan Nilsen Date: Fri, 10 Jan 2025 10:13:29 +0100 Subject: [PATCH] [nrf noup] drivers: clock_control: nrf: skip nrf_clock.h on haltium Don't include hal/nrf_clock.h on Haltium platforms as that HAL currently does not compile for those. Since this issue only affects projects that are downstream of NCS, and should be fixed soon by NRFX-6892, this patch is made as a temporary no-up that can be reverted along with the introduction of the fix. Ref: NCSDK-31213 Signed-off-by: Jonathan Nilsen --- include/zephyr/drivers/clock_control/nrf_clock_control.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/zephyr/drivers/clock_control/nrf_clock_control.h b/include/zephyr/drivers/clock_control/nrf_clock_control.h index 8d9bcbe3441..54e3ec68f4e 100644 --- a/include/zephyr/drivers/clock_control/nrf_clock_control.h +++ b/include/zephyr/drivers/clock_control/nrf_clock_control.h @@ -8,7 +8,7 @@ #define ZEPHYR_INCLUDE_DRIVERS_CLOCK_CONTROL_NRF_CLOCK_CONTROL_H_ #include -#ifdef NRF_CLOCK +#if defined(NRF_CLOCK) && !defined(CONFIG_NRF_PLATFORM_HALTIUM) #include #endif #include