summaryrefslogtreecommitdiff
path: root/drivers/net/can/spi/mcp251xfd/Makefile
diff options
context:
space:
mode:
authorMarc Kleine-Budde <mkl@pengutronix.de>2020-09-30 11:49:00 +0300
committerMarc Kleine-Budde <mkl@pengutronix.de>2020-09-30 22:54:30 +0300
commit1f0e21a0c0651ce3d837f8f76b44bf9de2b030cd (patch)
treeee32773a90f039233b68f3567f5c897a2ff79496 /drivers/net/can/spi/mcp251xfd/Makefile
parentdba1572c23601025b99e418066c82105eca950bc (diff)
downloadlinux-1f0e21a0c0651ce3d837f8f76b44bf9de2b030cd.tar.xz
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: Marc Kleine-Budde <mkl@pengutronix.de>
Diffstat (limited to 'drivers/net/can/spi/mcp251xfd/Makefile')
-rw-r--r--drivers/net/can/spi/mcp251xfd/Makefile8
1 files changed, 8 insertions, 0 deletions
diff --git a/drivers/net/can/spi/mcp251xfd/Makefile b/drivers/net/can/spi/mcp251xfd/Makefile
new file mode 100644
index 000000000000..e943e6a2db0c
--- /dev/null
+++ b/drivers/net/can/spi/mcp251xfd/Makefile
@@ -0,0 +1,8 @@
+# SPDX-License-Identifier: GPL-2.0-only
+
+obj-$(CONFIG_CAN_MCP25XXFD) += mcp25xxfd.o
+
+mcp25xxfd-objs :=
+mcp25xxfd-objs += mcp251xfd-core.o
+mcp25xxfd-objs += mcp251xfd-crc16.o
+mcp25xxfd-objs += mcp251xfd-regmap.o