From: John Crispin Date: Wed, 29 Oct 2014 19:24:16 +0000 (+0000) Subject: swconfig: last vs tail X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=62107ff367b44aa80126a81a86458f4adb3df015;p=openwrt%2Fstaging%2Fkaloz.git swconfig: last vs tail sorry ..... Signed-off-by: John Crispin SVN-Revision: 43107 --- 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);