From a84a16f8ff0bee1cd8404e05e7fbb767bef5fef1 Mon Sep 17 00:00:00 2001 From: Gerard Marull-Paretas Date: Mon, 3 Jan 2022 16:35:11 +0100 Subject: [PATCH] arch: arm: aarch32: cortex_m: nvic: make header self-contained The header contains macros that make use of the Devicetree API, however, is not included. This was "mitigated" by most including . Signed-off-by: Gerard Marull-Paretas --- include/arch/arm/aarch32/cortex_m/nvic.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/include/arch/arm/aarch32/cortex_m/nvic.h b/include/arch/arm/aarch32/cortex_m/nvic.h index fa197c39280..5f1a5bff142 100644 --- a/include/arch/arm/aarch32/cortex_m/nvic.h +++ b/include/arch/arm/aarch32/cortex_m/nvic.h @@ -7,6 +7,8 @@ #ifndef ZEPHYR_INCLUDE_ARCH_ARM_AARCH32_CORTEX_M_NVIC_H_ #define ZEPHYR_INCLUDE_ARCH_ARM_AARCH32_CORTEX_M_NVIC_H_ +#include + #if defined(CONFIG_ARMV8_1_M_MAINLINE) /* The order here is on purpose since ARMv8.1-M SoCs may define * CONFIG_ARMV6_M_ARMV8_M_BASELINE, CONFIG_ARMV7_M_ARMV8_M_MAINLINE or