Randy Dunlap
b603cbe08b
net: sparx5: uses, depends on BRIDGE or !BRIDGE
...
commit f9512d654f62604664251dedd437a22fe484974a upstream.
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>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2022-04-08 14:24:11 +02:00
..
2022-03-08 19:12:46 +01:00
2022-02-23 12:03:12 +01:00
2022-04-08 14:24:09 +02:00
2022-04-08 14:23:54 +02:00
2022-04-08 14:24:11 +02:00
2021-12-29 12:28:44 +01:00
2022-04-08 14:22:59 +02:00
2022-03-23 09:16:42 +01:00
2022-02-23 12:03:11 +01:00
2022-03-08 19:12:45 +01:00
2022-03-02 11:47:58 +01:00
2022-02-23 12:03:10 +01:00
2022-04-08 14:23:52 +02:00
2022-01-27 11:03:52 +01:00
2022-03-11 12:22:31 +01:00
2022-04-08 14:23:29 +02:00
2021-12-17 10:30:14 +01:00
2022-04-08 14:24:09 +02:00
2022-04-08 14:23:40 +02:00
2022-01-27 11:05:40 +01:00
2022-03-16 14:23:41 +01:00
2022-04-08 14:23:41 +02:00
2021-11-18 19:16:04 +01:00
2021-11-18 19:15:58 +01:00
2022-02-08 18:34:09 +01:00
2021-12-29 12:29:03 +01:00
2022-02-16 12:56:30 +01:00
2021-12-14 10:57:08 +01:00
2022-03-11 12:22:37 +01:00