Skip to content
Permalink
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: Alexander Wachter <alexander.wachter@student.tugraz.at>
  • Loading branch information...
alexanderwachter authored and nashif committed Apr 19, 2019
1 parent 0e807c3 commit b0bc68e85e9e9f8197ef03524951ac7ad32fa2c5
@@ -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)
@@ -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)
{
File renamed without changes.
@@ -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);
File renamed without changes.

0 comments on commit b0bc68e

Please sign in to comment.
You can’t perform that action at this time.