aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/generic/files/drivers/net/phy/mvsw61xx.c
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2015-09-11 16:34:49 +0000
committerFelix Fietkau <nbd@openwrt.org>2015-09-11 16:34:49 +0000
commita983cff81bf0e8d65fd9167346d3b7c7364e224a (patch)
treeb259a17b2278a2d137fe5554ec1c8e0e747013f9 /target/linux/generic/files/drivers/net/phy/mvsw61xx.c
parent00a35644269edbe387cf892ccba5b935c48f586b (diff)
downloadmaster-187ad058-a983cff81bf0e8d65fd9167346d3b7c7364e224a.tar.gz
master-187ad058-a983cff81bf0e8d65fd9167346d3b7c7364e224a.tar.bz2
master-187ad058-a983cff81bf0e8d65fd9167346d3b7c7364e224a.zip
mvsw61xx: match swconfig function names
Signed-off-by: Claudio Leite <leitec@staticky.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46865 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/generic/files/drivers/net/phy/mvsw61xx.c')
-rw-r--r--target/linux/generic/files/drivers/net/phy/mvsw61xx.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/target/linux/generic/files/drivers/net/phy/mvsw61xx.c b/target/linux/generic/files/drivers/net/phy/mvsw61xx.c
index 07b4343bcd..f87905683f 100644
--- a/target/linux/generic/files/drivers/net/phy/mvsw61xx.c
+++ b/target/linux/generic/files/drivers/net/phy/mvsw61xx.c
@@ -196,7 +196,7 @@ mvsw61xx_set_port_qmode(struct switch_dev *dev,
}
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 @@ mvsw61xx_get_pvid(struct switch_dev *dev, int port, int *val)
}
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 @@ static const struct switch_dev_ops mvsw61xx_ops = {
.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,