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:
parent
4d953bd1fb
commit
f7a5b47dff
|
@ -4,6 +4,7 @@
|
|||
*/
|
||||
|
||||
#include <zephyr/init.h>
|
||||
#include <zephyr/devicetree.h>
|
||||
#include <fsl_common.h>
|
||||
#include <fsl_iocon.h>
|
||||
#include <soc.h>
|
||||
|
|
|
@ -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)
|
||||
|
|
|
@ -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>
|
||||
|
|
|
@ -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. */
|
||||
|
|
|
@ -13,6 +13,7 @@
|
|||
*/
|
||||
|
||||
#include <zephyr/init.h>
|
||||
#include <zephyr/devicetree.h>
|
||||
#include <soc.h>
|
||||
#include "flash_clock_setup.h"
|
||||
#include "fsl_power.h"
|
||||
|
|
|
@ -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))
|
||||
|
|
|
@ -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),
|
||||
|
|
|
@ -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),
|
||||
|
|
Loading…
Reference in New Issue