diff options
Diffstat (limited to 'drivers/net/dsa/microchip/ksz_common.c')
-rw-r--r-- | drivers/net/dsa/microchip/ksz_common.c | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/drivers/net/dsa/microchip/ksz_common.c b/drivers/net/dsa/microchip/ksz_common.c index b5be93a1e0df..25b94edc5526 100644 --- a/drivers/net/dsa/microchip/ksz_common.c +++ b/drivers/net/dsa/microchip/ksz_common.c | |||
@@ -559,8 +559,7 @@ static int ksz_port_vlan_filtering(struct dsa_switch *ds, int port, bool flag) | |||
559 | } | 559 | } |
560 | 560 | ||
561 | static int ksz_port_vlan_prepare(struct dsa_switch *ds, int port, | 561 | static int ksz_port_vlan_prepare(struct dsa_switch *ds, int port, |
562 | const struct switchdev_obj_port_vlan *vlan, | 562 | const struct switchdev_obj_port_vlan *vlan) |
563 | struct switchdev_trans *trans) | ||
564 | { | 563 | { |
565 | /* nothing needed */ | 564 | /* nothing needed */ |
566 | 565 | ||
@@ -568,8 +567,7 @@ static int ksz_port_vlan_prepare(struct dsa_switch *ds, int port, | |||
568 | } | 567 | } |
569 | 568 | ||
570 | static void ksz_port_vlan_add(struct dsa_switch *ds, int port, | 569 | static void ksz_port_vlan_add(struct dsa_switch *ds, int port, |
571 | const struct switchdev_obj_port_vlan *vlan, | 570 | const struct switchdev_obj_port_vlan *vlan) |
572 | struct switchdev_trans *trans) | ||
573 | { | 571 | { |
574 | struct ksz_device *dev = ds->priv; | 572 | struct ksz_device *dev = ds->priv; |
575 | u32 vlan_table[3]; | 573 | u32 vlan_table[3]; |