diff options
| author | Vincent Mailhol <[email protected]> | 2022-06-10 23:30:04 +0900 |
|---|---|---|
| committer | Marc Kleine-Budde <[email protected]> | 2022-06-11 17:11:01 +0200 |
| commit | 6a5286442fb64a2d512e4059004441e59c786ebc (patch) | |
| tree | 8037c2c56e65710395272ad55a4a06f456a876cf /include/linux/debugobjects.h | |
| parent | df6ad5dd838e0fa543ca28ca6154901fa65a9443 (diff) | |
can: Kconfig: turn menu "CAN Device Drivers" into a menuconfig using CAN_DEV
In the next patches, the software/virtual drivers (slcan, v(x)can)
will depend on drivers/net/can/dev/skb.o.
This patch changes the scope of the can-dev module to include the
above mentioned drivers.
To do so, we reuse the menu "CAN Device Drivers" and turn it into a
configmenu using the config symbol CAN_DEV (which we released in
previous patch). Also, add a description to this new CAN_DEV
menuconfig.
The symbol CAN_DEV now only triggers the build of skb.o. For this
reasons, all the macros from linux/module.h are deported from
drivers/net/can/dev/dev.c to drivers/net/can/dev/skb.c.
Finally, drivers/net/can/dev/Makefile is adjusted accordingly.
Link: https://lore.kernel.org/all/[email protected]
Suggested-by: Oliver Hartkopp <[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]>
Diffstat (limited to 'include/linux/debugobjects.h')
0 files changed, 0 insertions, 0 deletions