Author: nbd
Date: 2015-09-11 18:34:49 +0200 (Fri, 11 Sep 2015)
New Revision: 46865

Modified:
   trunk/target/linux/generic/files/drivers/net/phy/mvsw61xx.c
Log:
mvsw61xx: match swconfig function names

Signed-off-by: Claudio Leite <[email protected]>

Modified: trunk/target/linux/generic/files/drivers/net/phy/mvsw61xx.c
===================================================================
--- trunk/target/linux/generic/files/drivers/net/phy/mvsw61xx.c 2015-09-11 
16:34:35 UTC (rev 46864)
+++ trunk/target/linux/generic/files/drivers/net/phy/mvsw61xx.c 2015-09-11 
16:34:49 UTC (rev 46865)
@@ -196,7 +196,7 @@
 }
 
 static int
-mvsw61xx_get_pvid(struct switch_dev *dev, int port, int *val)
+mvsw61xx_get_port_pvid(struct switch_dev *dev, int port, int *val)
 {
        struct mvsw61xx_state *state = get_state(dev);
 
@@ -206,7 +206,7 @@
 }
 
 static int
-mvsw61xx_set_pvid(struct switch_dev *dev, int port, int val)
+mvsw61xx_set_port_pvid(struct switch_dev *dev, int port, int val)
 {
        struct mvsw61xx_state *state = get_state(dev);
 
@@ -700,8 +700,8 @@
                .n_attr = ARRAY_SIZE(mvsw61xx_port),
        },
        .get_port_link = mvsw61xx_get_port_link,
-       .get_port_pvid = mvsw61xx_get_pvid,
-       .set_port_pvid = mvsw61xx_set_pvid,
+       .get_port_pvid = mvsw61xx_get_port_pvid,
+       .set_port_pvid = mvsw61xx_set_port_pvid,
        .get_vlan_ports = mvsw61xx_get_vlan_ports,
        .set_vlan_ports = mvsw61xx_set_vlan_ports,
        .apply_config = mvsw61xx_apply,
_______________________________________________
openwrt-commits mailing list
[email protected]
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-commits

Reply via email to