net: dsa: bcm_sf2: Get VLAN_PORT_MASK from b53_device
authorFlorian Fainelli <f.fainelli@gmail.com>
Sat, 10 Sep 2016 19:39:03 +0000 (12:39 -0700)
committerDavid S. Miller <davem@davemloft.net>
Mon, 12 Sep 2016 02:37:02 +0000 (19:37 -0700)
commit02154927c115c7599677df57203988e05b576346
tree69c0b866e7fb7419d7e8cd2608951822cedee871
parent8fee3156034a844c0da62b338ef7651cfb0fc8b1
net: dsa: bcm_sf2: Get VLAN_PORT_MASK from b53_device

While migrating the bcm_sf2 driver to use b53_common, we left a small
piece untouched where we kept our local copy of the per-port
port_vlan_ctl bitmask value. This value is now maintained by b53_device
so we need to use it instead of our local (and now stale) copy of it.

Fixes: f458995b9ad8 ("net: dsa: bcm_sf2: Utilize core B53 driver when possible")
Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/dsa/bcm_sf2.c
drivers/net/dsa/bcm_sf2.h