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 de1dde2..4f2df4c 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);