Commit 1f0e21a0 authored by Marc Kleine-Budde's avatar Marc Kleine-Budde
Browse files

can: mcp251xfd: rename driver files and subdir to mcp251xfd

In [1] Geert noted that the autodetect compatible for the mcp25xxfd driver,
which is "microchip,mcp25xxfd" might be too generic and overlap with upcoming,
but incompatible chips.

In the previous patch the autodetect DT compatbile has been renamed to
"microchip,mcp251xfd", this patch changes the name of the driver subdir and the
individual files accordinly.

[1] http://lore.kernel.org/r/CAMuHMdVkwGjr6dJuMyhQNqFoJqbh6Ec5V2b5LenCshwpM2SDsQ@mail.gmail.com

Link: https://lore.kernel.org/r/20200930091424.792165-8-mkl@pengutronix.de


Signed-off-by: default avatarMarc Kleine-Budde <mkl@pengutronix.de>
parent dba1572c
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -13,6 +13,6 @@ config CAN_MCP251X
	  Driver for the Microchip MCP251x and MCP25625 SPI CAN
	  controllers.

source "drivers/net/can/spi/mcp25xxfd/Kconfig"
source "drivers/net/can/spi/mcp251xfd/Kconfig"

endmenu
+1 −1
Original line number Diff line number Diff line
@@ -6,4 +6,4 @@

obj-$(CONFIG_CAN_HI311X)	+= hi311x.o
obj-$(CONFIG_CAN_MCP251X)	+= mcp251x.o
obj-y				+= mcp25xxfd/
obj-y				+= mcp251xfd/
+8 −0
Original line number Diff line number Diff line
@@ -3,6 +3,6 @@
obj-$(CONFIG_CAN_MCP25XXFD) += mcp25xxfd.o

mcp25xxfd-objs :=
mcp25xxfd-objs += mcp25xxfd-core.o
mcp25xxfd-objs += mcp25xxfd-crc16.o
mcp25xxfd-objs += mcp25xxfd-regmap.o
mcp25xxfd-objs += mcp251xfd-core.o
mcp25xxfd-objs += mcp251xfd-crc16.o
mcp25xxfd-objs += mcp251xfd-regmap.o
+1 −1
Original line number Diff line number Diff line
@@ -23,7 +23,7 @@

#include <asm/unaligned.h>

#include "mcp25xxfd.h"
#include "mcp251xfd.h"

#define DEVICE_NAME "mcp25xxfd"

Loading