drivers: can: mcan: remove unused includes
Remove unused includes and sort the remaining includes alphabetically. Signed-off-by: Henrik Brix Andersen <hebad@vestas.com>
This commit is contained in:
parent
73ecdd9c91
commit
522f87edf6
3 changed files with 3 additions and 9 deletions
|
@ -5,13 +5,12 @@
|
||||||
* SPDX-License-Identifier: Apache-2.0
|
* SPDX-License-Identifier: Apache-2.0
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include <zephyr/sys/util.h>
|
|
||||||
#include <string.h>
|
|
||||||
#include <zephyr/cache.h>
|
#include <zephyr/cache.h>
|
||||||
#include <zephyr/kernel.h>
|
|
||||||
#include <zephyr/drivers/can.h>
|
#include <zephyr/drivers/can.h>
|
||||||
#include <zephyr/drivers/can/transceiver.h>
|
#include <zephyr/drivers/can/transceiver.h>
|
||||||
|
#include <zephyr/kernel.h>
|
||||||
#include <zephyr/logging/log.h>
|
#include <zephyr/logging/log.h>
|
||||||
|
#include <zephyr/sys/util.h>
|
||||||
|
|
||||||
#include "can_mcan.h"
|
#include "can_mcan.h"
|
||||||
#include "can_mcan_priv.h"
|
#include "can_mcan_priv.h"
|
||||||
|
|
|
@ -8,12 +8,9 @@
|
||||||
#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 <zephyr/kernel.h>
|
|
||||||
#include <zephyr/devicetree.h>
|
#include <zephyr/devicetree.h>
|
||||||
#include <zephyr/drivers/can.h>
|
#include <zephyr/drivers/can.h>
|
||||||
|
#include <zephyr/kernel.h>
|
||||||
#include <zephyr/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)
|
||||||
|
|
|
@ -8,8 +8,6 @@
|
||||||
#ifndef ZEPHYR_DRIVERS_CAN_CAN_MCAN_PRIV_H_
|
#ifndef ZEPHYR_DRIVERS_CAN_CAN_MCAN_PRIV_H_
|
||||||
#define ZEPHYR_DRIVERS_CAN_CAN_MCAN_PRIV_H_
|
#define ZEPHYR_DRIVERS_CAN_CAN_MCAN_PRIV_H_
|
||||||
|
|
||||||
#include <zephyr/drivers/can.h>
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Register Masks are taken from the stm32cube library and extended for
|
* Register Masks are taken from the stm32cube library and extended for
|
||||||
* full M_CAN IPs
|
* full M_CAN IPs
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue