swconfig: last vs tail
authorJohn Crispin <john@openwrt.org>
Wed, 29 Oct 2014 19:24:16 +0000 (19:24 +0000)
committerJohn Crispin <john@openwrt.org>
Wed, 29 Oct 2014 19:24:16 +0000 (19:24 +0000)
sorry .....

Signed-off-by: John Crispin <blogic@openwrt.org>
SVN-Revision: 43107

target/linux/generic/files/drivers/net/phy/swconfig.c

index de1dde22cffe4eb2061b5117719931b976b12369..4f2df4cf8a3bc0720cbdb7aceea1230362ed96ad 100644 (file)
@@ -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);