summaryrefslogtreecommitdiff
path: root/target/linux/generic/files
diff options
context:
space:
mode:
authorGabor Juhos <juhosg@openwrt.org>2011-01-09 05:36:44 +0000
committerGabor Juhos <juhosg@openwrt.org>2011-01-09 05:36:44 +0000
commit5641e8233e4d275289b39f42041776440f868dae (patch)
treee373968c2e9a12e781c74b0a058d25d6fd60af32 /target/linux/generic/files
parent505f0e7a86e8187d92954392f812a61a4b9dfca7 (diff)
downloadmtk-20170518-5641e8233e4d275289b39f42041776440f868dae.zip
mtk-20170518-5641e8233e4d275289b39f42041776440f868dae.tar.gz
mtk-20170518-5641e8233e4d275289b39f42041776440f868dae.tar.bz2
generic: rtl8366: fix build error
SVN-Revision: 24943
Diffstat (limited to 'target/linux/generic/files')
-rw-r--r--target/linux/generic/files/drivers/net/phy/rtl8366_smi.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/target/linux/generic/files/drivers/net/phy/rtl8366_smi.c b/target/linux/generic/files/drivers/net/phy/rtl8366_smi.c
index e34c84c..28e1a85 100644
--- a/target/linux/generic/files/drivers/net/phy/rtl8366_smi.c
+++ b/target/linux/generic/files/drivers/net/phy/rtl8366_smi.c
@@ -1202,12 +1202,12 @@ int rtl8366_smi_init(struct rtl8366_smi *smi)
if (err) {
dev_err(smi->parent, "VLAN initialization failed, err=%d\n",
err);
- goto err_disable_hw;
+ goto err_free_sck;
}
err = rtl8366_enable_all_ports(smi, 1);
if (err)
- goto err_disable_hw;
+ goto err_free_sck;
err = rtl8366_smi_mii_init(smi);
if (err)