1
0
mirror of https://git.openwrt.org/openwrt/openwrt.git synced 2024-06-27 11:25:09 +02:00

generic: rtl8366: fix build error

SVN-Revision: 24943
This commit is contained in:
Gabor Juhos 2011-01-09 05:36:44 +00:00
parent 505f0e7a86
commit 5641e8233e

View File

@ -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)