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>
This commit is contained in:
Alexander Wachter 2019-04-19 18:23:17 +02:00 committed by Anas Nashif
commit b0bc68e85e
5 changed files with 5 additions and 4 deletions

View file

@ -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)

View file

@ -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)
{

View file

@ -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);