Skip to content

Commit 05d6ba6

Browse files
[nrf fromlist] drivers: can: can_nrf: add missing soc.h include
The can_nrf driver uses defines from soc.h which happened to be included by some other header when building for cpuapp, but not when building for cpuflpr. Include soc.h explicitly. Upstream PR #: 101990 Signed-off-by: Bjarki Arge Andreasen <[email protected]>
1 parent c58a4d0 commit 05d6ba6

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

drivers/can/can_nrf.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@
1616
#include <zephyr/drivers/clock_control/nrf_clock_control.h>
1717
#include <zephyr/drivers/pinctrl.h>
1818
#include <zephyr/irq.h>
19+
#include <soc.h>
1920

2021
/* nRF CAN wrapper offsets */
2122
#define CAN_TASKS_START offsetof(NRF_CAN_Type, TASKS_START)

0 commit comments

Comments
 (0)