diff options
author | Vadym Kochan <vadym.kochan@plvision.eu> | 2020-11-06 19:11:25 +0300 |
---|---|---|
committer | Jakub Kicinski <kuba@kernel.org> | 2020-11-07 23:43:26 +0300 |
commit | 4e0396c59559264442963b349ab71f66e471f84d (patch) | |
tree | d5c2d7b9b7ee765cdbb37db8116eb67d4db15ac6 /sound/hda | |
parent | ee661a4abdf457cc3712725fb4f15113df7588e3 (diff) | |
download | linux-4e0396c59559264442963b349ab71f66e471f84d.tar.xz |
net: marvell: prestera: fix compilation with CONFIG_BRIDGE=m
With CONFIG_BRIDGE=m the compilation fails:
ld: drivers/net/ethernet/marvell/prestera/prestera_switchdev.o: in function `prestera_bridge_port_event':
prestera_switchdev.c:(.text+0x2ebd): undefined reference to `br_vlan_enabled'
in case the driver is statically enabled.
Fix it by adding 'BRIDGE || BRIDGE=n' dependency.
Fixes: e1189d9a5fbe ("net: marvell: prestera: Add Switchdev driver implementation")
Reported-by: Randy Dunlap <rdunlap@infradead.org>
Signed-off-by: Vadym Kochan <vadym.kochan@plvision.eu>
Acked-by: Randy Dunlap <rdunlap@infradead.org> # build-tested
Link: https://lore.kernel.org/r/20201106161128.24069-1-vadym.kochan@plvision.eu
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'sound/hda')
0 files changed, 0 insertions, 0 deletions