aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/ethernet/intel/i40e
diff options
context:
space:
mode:
authorFlorian Fainelli <f.fainelli@gmail.com>2018-09-06 11:42:45 -0700
committerDavid S. Miller <davem@davemloft.net>2018-09-07 23:12:12 -0700
commit7a8c7f5c30f90cb6f843e473acbd3a4b58c476b6 (patch)
treeb9f989f4e6eee7d06de43ffc4f0aec65f71fb24f /drivers/net/ethernet/intel/i40e
parentcxgb4: impose mandatory VLAN usage when non-zero TAG ID (diff)
downloadlinux-dev-7a8c7f5c30f90cb6f843e473acbd3a4b58c476b6.tar.xz
linux-dev-7a8c7f5c30f90cb6f843e473acbd3a4b58c476b6.zip
net: dsa: b53: Fix build with B53_SRAB enabled and not B53_SERDES
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: 0e01491de646 ("net: dsa: b53: Add SerDes support") Reported-by: kbuild test robot <lkp@intel.com> Signed-off-by: Florian Fainelli <f.fainelli@gmail.com> Reviewed-by: Andrew Lunn <andrew@lunn.ch> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/intel/i40e')
0 files changed, 0 insertions, 0 deletions