Skip to content

Commit 7ea0951

Browse files
henrikbrixandersencarlescufi
authored andcommitted
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 <[email protected]>
1 parent 288ba95 commit 7ea0951

File tree

2 files changed

+6
-5
lines changed

2 files changed

+6
-5
lines changed

drivers/can/can_mcan.c

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,10 +9,11 @@
99
#include <kernel.h>
1010
#include <drivers/can.h>
1111
#include <drivers/can/transceiver.h>
12-
#include "can_mcan.h"
13-
#include "can_mcan_int.h"
1412
#include <logging/log.h>
1513

14+
#include "can_mcan.h"
15+
#include "can_mcan_priv.h"
16+
1617
LOG_MODULE_REGISTER(can_mcan, CONFIG_CAN_LOG_LEVEL);
1718

1819
#define CAN_INIT_TIMEOUT (100)

drivers/can/can_mcan_int.h renamed to drivers/can/can_mcan_priv.h

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,8 @@
55
*
66
*/
77

8-
#ifndef ZEPHYR_DRIVERS_CAN_MCAN_INT_H_
9-
#define ZEPHYR_DRIVERS_CAN_MCAN_INT_H_
8+
#ifndef ZEPHYR_DRIVERS_CAN_CAN_MCAN_PRIV_H_
9+
#define ZEPHYR_DRIVERS_CAN_CAN_MCAN_PRIV_H_
1010

1111
#include <drivers/can.h>
1212

@@ -1569,4 +1569,4 @@ struct can_mcan_reg {
15691569

15701570
#endif /* CONFIG_CAN_STM32FD */
15711571

1572-
#endif /*ZEPHYR_DRIVERS_CAN_MCAN_INT_H_*/
1572+
#endif /* ZEPHYR_DRIVERS_CAN_CAN_MCAN_PRIV_H_*/

0 commit comments

Comments
 (0)