include: add missing arch/cpu.h include
The sys* ops like sys_clear_bit are indirectly included via arch CPU header. Other stuff like find_msb_set end up included via this header as well. Signed-off-by: Gerard Marull-Paretas <gerard.marull@nordicsemi.no>
This commit is contained in:
parent
fe32c4e273
commit
34a6848887
23 changed files with 24 additions and 0 deletions
|
@ -7,6 +7,7 @@
|
|||
#define DT_DRV_COMPAT microchip_xec_gpio_v2
|
||||
|
||||
#include <errno.h>
|
||||
#include <zephyr/arch/cpu.h>
|
||||
#include <zephyr/device.h>
|
||||
#include <zephyr/drivers/gpio.h>
|
||||
#include <zephyr/dt-bindings/pinctrl/mchp-xec-pinctrl.h>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue