Skip to content
GitLab
Projects Groups Topics Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
  • Sign in
  • L linux-dm
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributor statistics
    • Graph
    • Compare revisions
    • Locked files
  • Issues 0
    • Issues 0
    • List
    • Boards
    • Service Desk
    • Milestones
    • Iterations
    • Requirements
  • Merge requests 0
    • Merge requests 0
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
    • Test cases
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages and registries
    • Packages and registries
    • Container Registry
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Code review
    • Insights
    • Issue
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • linux-arm
  • linux-dm
  • Repository
  • linux-dm
  • drivers
  • net
  • dsa
  • b53
  • b53_serdes.h
Find file BlameHistoryPermalink
  • Florian Fainelli's avatar
    net: dsa: b53: Fix build with B53_SRAB enabled and not B53_SERDES · 7a8c7f5c
    Florian Fainelli authored Sep 06, 2018
    In case B53_SRAB is enabled, but not B53_SERDES, we can get the
    following linking error:
    
    ERROR: "b53_serdes_init" [drivers/net/dsa/b53/b53_srab.ko] undefined!
    
    We also need to ifdef the body of b53_srab_serdes_map_lane() since it
    would not be used when B53_SERDES is disabled and that would produce a
    warning.
    
    Fixes: 0e01491d
    
     ("net: dsa: b53: Add SerDes support")
    Reported-by: default avatarkbuild test robot <lkp@intel.com>
    Signed-off-by: Florian Fainelli's avatarFlorian Fainelli <f.fainelli@gmail.com>
    Reviewed-by: default avatarAndrew Lunn <andrew@lunn.ch>
    Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
    7a8c7f5c