summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authornbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>2010-01-17 22:57:08 +0000
committernbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>2010-01-17 22:57:08 +0000
commitf79dd5c8406414c2913af9a4fdb913539f88c011 (patch)
treecb886248c32194daafb75a54fe6df11038e840a9
parent7029e829c7617bd7bb29797525d9dcd86b7c385f (diff)
ar71xx: fix return statement in the rtl8366 driver
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@19204 3c298f89-4303-0410-b956-a3cf2f4a3e73
-rw-r--r--target/linux/ar71xx/files/drivers/net/phy/rtl8366_smi.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/target/linux/ar71xx/files/drivers/net/phy/rtl8366_smi.c b/target/linux/ar71xx/files/drivers/net/phy/rtl8366_smi.c
index 3b4795ba4..e2172f1b9 100644
--- a/target/linux/ar71xx/files/drivers/net/phy/rtl8366_smi.c
+++ b/target/linux/ar71xx/files/drivers/net/phy/rtl8366_smi.c
@@ -1731,7 +1731,7 @@ static int rtl8366_smi_switch_init(struct rtl8366_smi *smi)
if (err)
dev_err(&smi->pdev->dev, "switch registration failed\n");
- return;
+ return err;
}
static void rtl8366_smi_switch_cleanup(struct rtl8366_smi *smi)