drivers: can: mcan: rename private header file

Rename the private header file for the Bosch M_CAN shared driver code
from can_mcan_int.h to can_mcan_priv.h to follow the common naming
scheme.

Signed-off-by: Henrik Brix Andersen <hebad@vestas.com>
This commit is contained in:
Henrik Brix Andersen 2022-04-19 10:46:49 +02:00 committed by Carles Cufí
commit 7ea0951052
2 changed files with 6 additions and 5 deletions

View file

@ -9,10 +9,11 @@
#include <kernel.h>
#include <drivers/can.h>
#include <drivers/can/transceiver.h>
#include "can_mcan.h"
#include "can_mcan_int.h"
#include <logging/log.h>
#include "can_mcan.h"
#include "can_mcan_priv.h"
LOG_MODULE_REGISTER(can_mcan, CONFIG_CAN_LOG_LEVEL);
#define CAN_INIT_TIMEOUT (100)

View file

@ -5,8 +5,8 @@
*
*/
#ifndef ZEPHYR_DRIVERS_CAN_MCAN_INT_H_
#define ZEPHYR_DRIVERS_CAN_MCAN_INT_H_
#ifndef ZEPHYR_DRIVERS_CAN_CAN_MCAN_PRIV_H_
#define ZEPHYR_DRIVERS_CAN_CAN_MCAN_PRIV_H_
#include <drivers/can.h>
@ -1569,4 +1569,4 @@ struct can_mcan_reg {
#endif /* CONFIG_CAN_STM32FD */
#endif /*ZEPHYR_DRIVERS_CAN_MCAN_INT_H_*/
#endif /* ZEPHYR_DRIVERS_CAN_CAN_MCAN_PRIV_H_*/