drivers: can: mcan: Add headers for types used in this file

Some includes that resolve types used in this file were missing.

Signed-off-by: Alexander Wachter <alexander@wachter.cloud>
This commit is contained in:
Alexander Wachter 2022-01-16 12:30:30 +01:00 committed by Anas Nashif
commit 4e903cd4fe

View file

@ -8,6 +8,13 @@
#ifndef ZEPHYR_DRIVERS_CAN_MCAN_H_ #ifndef ZEPHYR_DRIVERS_CAN_MCAN_H_
#define ZEPHYR_DRIVERS_CAN_MCAN_H_ #define ZEPHYR_DRIVERS_CAN_MCAN_H_
#include <kernel.h>
#include <devicetree.h>
#include <drivers/can.h>
#include <toolchain.h>
#include <stdint.h>
#ifdef CONFIG_CAN_MCUX_MCAN #ifdef CONFIG_CAN_MCUX_MCAN
#define MCAN_DT_PATH DT_NODELABEL(can0) #define MCAN_DT_PATH DT_NODELABEL(can0)
#else #else