Skip to content

Commit

Permalink
can: dev: move driver related infrastructure into separate subdir
Browse files Browse the repository at this point in the history
[ Upstream commit 3e77f70 ]

This patch moves the CAN driver related infrastructure into a separate subdir.
It will be split into more files in the coming patches.

Reviewed-by: Vincent Mailhol <mailhol.vincent@wanadoo.fr>
Link: https://lore.kernel.org/r/20210111141930.693847-3-mkl@pengutronix.de
Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
Signed-off-by: Sasha Levin <sashal@kernel.org>
  • Loading branch information
marckleinebudde authored and gregkh committed Apr 7, 2021
1 parent a315637 commit af0a652
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 6 deletions.
7 changes: 1 addition & 6 deletions drivers/net/can/Makefile
Expand Up @@ -7,12 +7,7 @@ obj-$(CONFIG_CAN_VCAN) += vcan.o
obj-$(CONFIG_CAN_VXCAN) += vxcan.o
obj-$(CONFIG_CAN_SLCAN) += slcan.o

obj-$(CONFIG_CAN_DEV) += can-dev.o
can-dev-y += dev.o
can-dev-y += rx-offload.o

can-dev-$(CONFIG_CAN_LEDS) += led.o

obj-y += dev/
obj-y += rcar/
obj-y += spi/
obj-y += usb/
Expand Down
7 changes: 7 additions & 0 deletions drivers/net/can/dev/Makefile
@@ -0,0 +1,7 @@
# SPDX-License-Identifier: GPL-2.0

obj-$(CONFIG_CAN_DEV) += can-dev.o
can-dev-y += dev.o
can-dev-y += rx-offload.o

can-dev-$(CONFIG_CAN_LEDS) += led.o
File renamed without changes.
File renamed without changes.

0 comments on commit af0a652

Please sign in to comment.