aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/generic
diff options
context:
space:
mode:
authorGabor Juhos <juhosg@openwrt.org>2012-05-27 17:09:47 +0000
committerGabor Juhos <juhosg@openwrt.org>2012-05-27 17:09:47 +0000
commit86dad96fd05c267b89b5e254b5bda6eba99b679b (patch)
tree95690bba157a6374c77d8cc2bb035d14d538f0c0 /target/linux/generic
parent705d31203cc6a7d688866baf0993a61f349a5322 (diff)
downloadupstream-86dad96fd05c267b89b5e254b5bda6eba99b679b.tar.gz
upstream-86dad96fd05c267b89b5e254b5bda6eba99b679b.tar.bz2
upstream-86dad96fd05c267b89b5e254b5bda6eba99b679b.zip
generic: rtl8367: rename a misnamed variable
SVN-Revision: 31917
Diffstat (limited to 'target/linux/generic')
-rw-r--r--target/linux/generic/files/drivers/net/phy/rtl8367.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/target/linux/generic/files/drivers/net/phy/rtl8367.c b/target/linux/generic/files/drivers/net/phy/rtl8367.c
index f4ef0c14f4..4f2ba6327b 100644
--- a/target/linux/generic/files/drivers/net/phy/rtl8367.c
+++ b/target/linux/generic/files/drivers/net/phy/rtl8367.c
@@ -1538,7 +1538,7 @@ static struct switch_attr rtl8367_vlan[] = {
},
};
-static const struct switch_dev_ops rtl8366m_ops = {
+static const struct switch_dev_ops rtl8367_sw_ops = {
.attr_global = {
.attr = rtl8367_globals,
.n_attr = ARRAY_SIZE(rtl8367_globals),
@@ -1569,7 +1569,7 @@ static int rtl8367_switch_init(struct rtl8366_smi *smi)
dev->cpu_port = RTL8367_CPU_PORT_NUM;
dev->ports = RTL8367_NUM_PORTS;
dev->vlans = RTL8367_NUM_VIDS;
- dev->ops = &rtl8366m_ops;
+ dev->ops = &rtl8367_sw_ops;
dev->alias = dev_name(smi->parent);
err = register_switch(dev, NULL);