Commit b0bc68e8 authored by Alexander Wachter's avatar Alexander Wachter Committed by Anas Nashif
Browse files

drivers: can: rename drivers to can_<dev name>



The filenames of the can drivers were not consisten.
Changed them to can_<dev name>

Signed-off-by: default avatarAlexander Wachter <alexander.wachter@student.tugraz.at>
parent 0e807c3f
Loading
Loading
Loading
Loading
+3 −2
Original line number Diff line number Diff line
@@ -2,6 +2,7 @@

zephyr_sources_ifdef(CONFIG_CAN          can_common.c)
zephyr_sources_ifdef(CONFIG_CAN_LOOPBACK can_loopback.c)
zephyr_sources_ifdef(CONFIG_CAN_MCP2515  mcp2515.c)
zephyr_sources_ifdef(CONFIG_CAN_STM32    stm32_can.c)
zephyr_sources_ifdef(CONFIG_CAN_MCP2515  can_mcp2515.c)
zephyr_sources_ifdef(CONFIG_CAN_STM32    can_stm32.c)

zephyr_sources_ifdef(CONFIG_USERSPACE    can_handlers.c)
+1 −1
Original line number Diff line number Diff line
@@ -13,7 +13,7 @@
#include <logging/log.h>
LOG_MODULE_REGISTER(mcp2515_can);

#include "mcp2515.h"
#include "can_mcp2515.h"

static int mcp2515_cmd_soft_reset(struct device *dev)
{
+0 −0

File moved.

+1 −1
Original line number Diff line number Diff line
@@ -13,7 +13,7 @@
#include <errno.h>
#include <stdbool.h>
#include <can.h>
#include "stm32_can.h"
#include "can_stm32.h"

#include <logging/log.h>
LOG_MODULE_DECLARE(can_driver, CONFIG_CAN_LOG_LEVEL);
+0 −0

File moved.