Skip to content

Commit

Permalink
[nrf noup] drivers: clock_control: nrf: skip nrf_clock.h on haltium
Browse files Browse the repository at this point in the history
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 <[email protected]>
  • Loading branch information
jonathannilsen committed Jan 10, 2025
1 parent 1e841e3 commit 89d0fe2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion include/zephyr/drivers/clock_control/nrf_clock_control.h
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
#define ZEPHYR_INCLUDE_DRIVERS_CLOCK_CONTROL_NRF_CLOCK_CONTROL_H_

#include <zephyr/device.h>
#ifdef NRF_CLOCK
#if defined(NRF_CLOCK) && !defined(CONFIG_NRF_PLATFORM_HALTIUM)
#include <hal/nrf_clock.h>
#endif
#include <zephyr/sys/onoff.h>
Expand Down

0 comments on commit 89d0fe2

Please sign in to comment.