On Fri, 6 Nov 2020 12:13:12 -0800 Randy Dunlap wrote:
> On 11/6/20 8:11 AM, Vadym Kochan wrote:
> > 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 <rdun...@infradead.org>
> > Signed-off-by: Vadym Kochan <vadym.koc...@plvision.eu>  
> 
> Acked-by: Randy Dunlap <rdun...@infradead.org> # build-tested

Applied, thanks!

Reply via email to