aboutsummaryrefslogtreecommitdiffstats
path: root/target
diff options
context:
space:
mode:
authorJohn Crispin <blogic@openwrt.org>2014-10-29 19:24:16 +0000
committerJohn Crispin <blogic@openwrt.org>2014-10-29 19:24:16 +0000
commit8d61307dec507a02c5e5aa7b6633a933c6eceb37 (patch)
tree7a8fe2fccde4fd82d92ab383934e2b21d0d13405 /target
parent99a6061ffe53724ad40e698ee4d640d21a73dfc7 (diff)
downloadmaster-187ad058-8d61307dec507a02c5e5aa7b6633a933c6eceb37.tar.gz
master-187ad058-8d61307dec507a02c5e5aa7b6633a933c6eceb37.tar.bz2
master-187ad058-8d61307dec507a02c5e5aa7b6633a933c6eceb37.zip
swconfig: last vs tail
sorry ..... Signed-off-by: John Crispin <blogic@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43107 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target')
-rw-r--r--target/linux/generic/files/drivers/net/phy/swconfig.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/target/linux/generic/files/drivers/net/phy/swconfig.c b/target/linux/generic/files/drivers/net/phy/swconfig.c
index de1dde22cf..4f2df4cf8a 100644
--- a/target/linux/generic/files/drivers/net/phy/swconfig.c
+++ b/target/linux/generic/files/drivers/net/phy/swconfig.c
@@ -1079,7 +1079,7 @@ register_switch(struct switch_dev *dev, struct net_device *netdev)
/* fill device name */
snprintf(dev->devname, IFNAMSIZ, SWCONFIG_DEVNAME, i);
- list_add_last(&dev->dev_list, &swdevs);
+ list_add_tail(&dev->dev_list, &swdevs);
swconfig_unlock();
err = swconfig_create_led_trigger(dev);