include: add missing devicetree.h include

Some files make use of DT APIs without including devicetree.h.

Signed-off-by: Gerard Marull-Paretas <gerard.marull@nordicsemi.no>
This commit is contained in:
Gerard Marull-Paretas 2022-10-05 11:35:22 +02:00 committed by Carles Cufí
parent 4d953bd1fb
commit f7a5b47dff
8 changed files with 9 additions and 0 deletions

View File

@ -4,6 +4,7 @@
*/
#include <zephyr/init.h>
#include <zephyr/devicetree.h>
#include <fsl_common.h>
#include <fsl_iocon.h>
#include <soc.h>

View File

@ -4,6 +4,7 @@
*/
#include <zephyr/init.h>
#include <zephyr/devicetree.h>
#include <fsl_device_registers.h>
static int mimxrt685_evk_init(const struct device *dev)

View File

@ -6,6 +6,7 @@
*/
#include <errno.h>
#include <zephyr/device.h>
#include <zephyr/devicetree.h>
#include <zephyr/drivers/gpio.h>
#include <zephyr/dt-bindings/gpio/ite-it8xxx2-gpio.h>
#include <zephyr/dt-bindings/interrupt-controller/ite-intc.h>

View File

@ -7,6 +7,7 @@
#include <zephyr/init.h>
#include <soc.h>
#include <zephyr/dt-bindings/rdc/imx_rdc.h>
#include <zephyr/devicetree.h>
#include "wdog_imx.h"
/* Initialize clock. */

View File

@ -13,6 +13,7 @@
*/
#include <zephyr/init.h>
#include <zephyr/devicetree.h>
#include <soc.h>
#include "flash_clock_setup.h"
#include "fsl_power.h"

View File

@ -6,6 +6,7 @@
*/
#include <zephyr/init.h>
#include <zephyr/devicetree.h>
#include "fe310_prci.h"
#define CORECLK_HZ (DT_PROP(DT_NODELABEL(coreclk), clock_frequency))

View File

@ -5,6 +5,7 @@
*/
#include <zephyr/init.h>
#include <zephyr/devicetree.h>
#include "fu540_prci.h"
BUILD_ASSERT(MHZ(1000) == DT_PROP(DT_NODELABEL(coreclk), clock_frequency),

View File

@ -5,6 +5,8 @@
*/
#include <zephyr/init.h>
#include <zephyr/devicetree.h>
#include "fu740_prci.h"
BUILD_ASSERT(MHZ(1000) == DT_PROP(DT_NODELABEL(coreclk), clock_frequency),