Skip to content

Commit

Permalink
[nrf fromlist] include: drivers: nrf_clock_control: make nrf_clock in…
Browse files Browse the repository at this point in the history
…clusion stricter

Some devices do not support nrf_clock HAL.

Upstream PR #: 83115

Signed-off-by: Nikodem Kastelik <[email protected]>
  • Loading branch information
nika-nordic authored and rlubos committed Jan 13, 2025
1 parent 9176c81 commit 2c7f6ef
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(NRF_LFRC)
#include <hal/nrf_clock.h>
#endif
#include <zephyr/sys/onoff.h>
Expand Down

0 comments on commit 2c7f6ef

Please sign in to comment.