Randy Dunlap f9512d654f 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>
2022-03-30 19:16:27 -07:00
..
2022-03-28 12:41:28 -07:00
2022-03-25 13:35:34 -07:00
2022-03-28 14:32:39 -07:00
2022-03-24 19:37:53 -07:00
2022-03-28 14:32:39 -07:00
2022-03-28 12:50:50 -07:00
2022-03-23 18:03:08 -07:00
2022-03-18 18:46:15 +01:00
2022-03-23 18:23:13 -07:00
2022-03-24 12:35:59 -07:00
2022-03-24 18:12:09 -07:00
2022-03-25 09:35:19 -07:00
2022-03-28 14:32:39 -07:00
2022-03-24 12:30:37 -07:00
2022-03-24 19:37:53 -07:00
2022-03-28 14:32:39 -07:00
2022-03-28 12:41:28 -07:00
2022-03-23 18:03:08 -07:00
2022-03-28 12:41:28 -07:00
2022-03-24 16:19:43 -07:00
2022-03-23 18:23:13 -07:00
2022-03-25 13:56:18 -07:00
2022-03-21 18:33:57 -07:00
2022-03-24 18:07:03 -07:00
2022-03-26 12:01:35 -07:00
2022-03-28 14:32:39 -07:00
2022-03-21 14:46:01 -07:00
2022-03-28 12:41:28 -07:00
2022-03-25 13:56:18 -07:00
2022-03-25 13:56:18 -07:00
2022-03-28 14:32:39 -07:00
2022-03-24 13:13:26 -07:00
2022-03-25 13:35:34 -07:00
2022-03-24 19:37:53 -07:00
2022-03-23 18:23:13 -07:00
2022-03-18 19:00:26 +01:00
2022-03-28 14:32:39 -07:00
2022-03-24 19:48:57 -07:00
2022-03-28 12:41:28 -07:00
2022-03-25 13:56:18 -07:00