diff options
author | Randy Dunlap <rdunlap@infradead.org> | 2022-03-30 03:20:25 +0200 |
---|---|---|
committer | Jakub Kicinski <kuba@kernel.org> | 2022-03-31 04:16:27 +0200 |
commit | f9512d654f62604664251dedd437a22fe484974a (patch) | |
tree | bd9cf4937d7c02a8dcbc9263194e7d1e29d5c78a /net/can | |
parent | Merge branch 'wireguard-patches-for-5-18-rc1' (diff) | |
download | linux-f9512d654f62604664251dedd437a22fe484974a.tar.xz linux-f9512d654f62604664251dedd437a22fe484974a.zip |
net: sparx5: uses, depends on BRIDGE or !BRIDGE
Fix build errors when BRIDGE=m and SPARX5_SWITCH=y:
riscv64-linux-ld: drivers/net/ethernet/microchip/sparx5/sparx5_switchdev.o: in function `.L305':
sparx5_switchdev.c:(.text+0xdb0): undefined reference to `br_vlan_enabled'
riscv64-linux-ld: drivers/net/ethernet/microchip/sparx5/sparx5_switchdev.o: in function `.L283':
sparx5_switchdev.c:(.text+0xee0): undefined reference to `br_vlan_enabled'
Fixes: 3cfa11bac9bb ("net: sparx5: add the basic sparx5 driver")
Signed-off-by: Randy Dunlap <rdunlap@infradead.org>
Reported-by: kernel test robot <lkp@intel.com>
Cc: Horatiu Vultur <horatiu.vultur@microchip.com>
Cc: Lars Povlsen <lars.povlsen@microchip.com>
Cc: Steen Hegelund <Steen.Hegelund@microchip.com>
Cc: UNGLinuxDriver@microchip.com
Cc: Paolo Abeni <pabeni@redhat.com>
Link: https://lore.kernel.org/r/20220330012025.29560-1-rdunlap@infradead.org
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'net/can')
0 files changed, 0 insertions, 0 deletions