--- drivers/net/can/spi/Makefile | 2 +- drivers/net/can/spi/mcp25xxfd/Makefile | 29 +++++++++++++------------- 2 files changed, 16 insertions(+), 15 deletions(-) diff --git a/drivers/net/can/spi/Makefile b/drivers/net/can/spi/Makefile index 67d3ad21730b..5c42658512ea 100644 --- a/drivers/net/can/spi/Makefile +++ b/drivers/net/can/spi/Makefile @@ -6,4 +6,4 @@ obj-$(CONFIG_CAN_HI311X) += hi311x.o obj-$(CONFIG_CAN_MCP251X) += mcp251x.o -obj-y += mcp25xxfd/ +obj-y += mcp25xxfd/ diff --git a/drivers/net/can/spi/mcp25xxfd/Makefile b/drivers/net/can/spi/mcp25xxfd/Makefile index 8f455881b639..c9e721e9c908 100644 --- a/drivers/net/can/spi/mcp25xxfd/Makefile +++ b/drivers/net/can/spi/mcp25xxfd/Makefile @@ -2,17 +2,18 @@ # Makefile for the Linux Controller Area Network SPI drivers. # obj-$(CONFIG_CAN_MCP25XXFD) += mcp25xxfd.o -mcp25xxfd-objs := mcp25xxfd_base.o -mcp25xxfd-objs += mcp25xxfd_can.o -mcp25xxfd-objs += mcp25xxfd_can_debugfs.o -mcp25xxfd-objs += mcp25xxfd_can_fifo.o -mcp25xxfd-objs += mcp25xxfd_can_int.o -mcp25xxfd-objs += mcp25xxfd_can_rx.o -mcp25xxfd-objs += mcp25xxfd_can_tx.o -mcp25xxfd-objs += mcp25xxfd_clock.o -mcp25xxfd-objs += mcp25xxfd_cmd.o -mcp25xxfd-objs += mcp25xxfd_crc.o -mcp25xxfd-objs += mcp25xxfd_debugfs.o -mcp25xxfd-objs += mcp25xxfd_ecc.o -mcp25xxfd-objs += mcp25xxfd_gpio.o -mcp25xxfd-objs += mcp25xxfd_int.o + +mcp25xxfd-objs := mcp25xxfd_base.o +mcp25xxfd-objs += mcp25xxfd_can.o +mcp25xxfd-objs += mcp25xxfd_can_debugfs.o +mcp25xxfd-objs += mcp25xxfd_can_fifo.o +mcp25xxfd-objs += mcp25xxfd_can_int.o +mcp25xxfd-objs += mcp25xxfd_can_rx.o +mcp25xxfd-objs += mcp25xxfd_can_tx.o +mcp25xxfd-objs += mcp25xxfd_clock.o +mcp25xxfd-objs += mcp25xxfd_cmd.o +mcp25xxfd-objs += mcp25xxfd_crc.o +mcp25xxfd-objs += mcp25xxfd_debugfs.o +mcp25xxfd-objs += mcp25xxfd_ecc.o +mcp25xxfd-objs += mcp25xxfd_gpio.o +mcp25xxfd-objs += mcp25xxfd_int.o -- 2.20.1