aboutsummaryrefslogtreecommitdiff
path: root/net/core/dev.c
diff options
context:
space:
mode:
authorAndrew Lunn <[email protected]>2017-11-11 16:29:41 +0100
committerDavid S. Miller <[email protected]>2017-11-14 11:11:45 +0900
commitee0ab7a2b00fdb65e50ed9e252900b29c8fd802f (patch)
tree5353fce27d2a66e5f445381c562b135aa31c3d37 /net/core/dev.c
parentede372dcae15d3ba1d3d52ac45be7a27ce31be28 (diff)
net: dsa: Fix dependencies on bridge
DSA now uses one of the symbols exported by the bridge, br_vlan_enabled(). This has a stub, if the bridge is not enabled. However, if the bridge is enabled, we cannot have DSA built in and the bridge as a module, otherwise we get undefined symbols at link time: net/dsa/port.o: In function `dsa_port_vlan_add': net/dsa/port.c:255: undefined reference to `br_vlan_enabled' net/dsa/port.o: In function `dsa_port_vlan_del': net/dsa/port.c:270: undefined reference to `br_vlan_enabled' Reported-by: kbuild test robot <[email protected]> Signed-off-by: Andrew Lunn <[email protected]> Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'net/core/dev.c')
0 files changed, 0 insertions, 0 deletions