Skip to content
GitLab
Projects Groups Topics Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
  • Register
  • Sign in
  • L linux
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributor statistics
    • Graph
    • Compare revisions
  • Issues 0
    • Issues 0
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 0
    • Merge requests 0
  • Deployments
    • Deployments
    • Releases
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Commits
  • Issue Boards
Collapse sidebar
  • Kirill Smelkov
  • linux
  • Repository
You need to sign in or sign up before continuing.
  • linux
  • drivers
  • net
  • can
  • dev
  • dev.c
Find file BlameHistoryPermalink
  • Vincent Mailhol's avatar
    can: Kconfig: turn menu "CAN Device Drivers" into a menuconfig using CAN_DEV · 6a528644
    Vincent Mailhol authored Jun 10, 2022
    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/20220610143009.323579-3-mailhol.vincent@wanadoo.fr
    
    
    Suggested-by: default avatarOliver Hartkopp <socketcan@hartkopp.net>
    Signed-off-by: default avatarVincent Mailhol <mailhol.vincent@wanadoo.fr>
    Acked-by: default avatarMax Staudt <max@enpas.org>
    Tested-by: default avatarOliver Hartkopp <socketcan@hartkopp.net>
    Signed-off-by: default avatarMarc Kleine-Budde <mkl@pengutronix.de>
    6a528644
GitLab Nexedi Edition | About GitLab | About Nexedi | 沪ICP备2021021310号-2 | 沪ICP备2021021310号-7