aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2010-01-17 22:57:08 +0000
committerFelix Fietkau <nbd@openwrt.org>2010-01-17 22:57:08 +0000
commit8394a3281524dad20c5e6209267f63880200d24c (patch)
tree416e1a8be594fe7c4d58fbf4485be98d5d45fa71 /target/linux
parentc15a8f3b93ff582af0e3d55490f27eadebd648b2 (diff)
downloadupstream-8394a3281524dad20c5e6209267f63880200d24c.tar.gz
upstream-8394a3281524dad20c5e6209267f63880200d24c.tar.bz2
upstream-8394a3281524dad20c5e6209267f63880200d24c.zip
ar71xx: fix return statement in the rtl8366 driver
SVN-Revision: 19204
Diffstat (limited to 'target/linux')
-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 3b4795ba4b..e2172f1b90 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)