mirror of
git://git.kernel.org/pub/scm/linux/kernel/git/xiang/erofs.git
synced 2026-11-05 00:52:57 +01:00
Only a few drivers rely on the CAN rx offload framework (as of the writing of this patch, only four: flexcan, m_can, mcp251xfd and ti_hecc). Split it out of can-dev and add a new config symbol: CAN_RX_OFFLOAD. The drivers relying on CAN rx offload are in different sub folders. Make CAN_RX_OFFLOAD an hidden option and tag all the drivers depending on that feature with "select CAN_RX_OFFLOAD" so that the option gets automatically enabled if and only if one of those drivers is chosen. Link: https://lore.kernel.org/all/[email protected] Suggested-by: Geert Uytterhoeven <[email protected]> Suggested-by: Jakub Kicinski <[email protected]> Signed-off-by: Vincent Mailhol <[email protected]> Acked-by: Max Staudt <[email protected]> Tested-by: Oliver Hartkopp <[email protected]> Signed-off-by: Marc Kleine-Budde <[email protected]>
13 lines
367 B
Makefile
13 lines
367 B
Makefile
# SPDX-License-Identifier: GPL-2.0
|
|
|
|
obj-$(CONFIG_CAN_DEV) += can-dev.o
|
|
|
|
can-dev-y += skb.o
|
|
|
|
can-dev-$(CONFIG_CAN_CALC_BITTIMING) += calc_bittiming.o
|
|
can-dev-$(CONFIG_CAN_NETLINK) += bittiming.o
|
|
can-dev-$(CONFIG_CAN_NETLINK) += dev.o
|
|
can-dev-$(CONFIG_CAN_NETLINK) += length.o
|
|
can-dev-$(CONFIG_CAN_NETLINK) += netlink.o
|
|
can-dev-$(CONFIG_CAN_RX_OFFLOAD) += rx-offload.o
|