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
master
John Crispin 2014-10-29 19:24:16 +00:00
parent 99a6061ffe
commit 8d61307dec
1 changed files with 1 additions and 1 deletions

View 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);