swconfig: last vs tail
sorry ..... Signed-off-by: John Crispin <blogic@openwrt.org> SVN-Revision: 43107
This commit is contained in:
parent
ab5d70e046
commit
62107ff367
1 changed files with 1 additions and 1 deletions
|
@ -1079,7 +1079,7 @@ register_switch(struct switch_dev *dev, struct net_device *netdev)
|
||||||
/* fill device name */
|
/* fill device name */
|
||||||
snprintf(dev->devname, IFNAMSIZ, SWCONFIG_DEVNAME, i);
|
snprintf(dev->devname, IFNAMSIZ, SWCONFIG_DEVNAME, i);
|
||||||
|
|
||||||
list_add_last(&dev->dev_list, &swdevs);
|
list_add_tail(&dev->dev_list, &swdevs);
|
||||||
swconfig_unlock();
|
swconfig_unlock();
|
||||||
|
|
||||||
err = swconfig_create_led_trigger(dev);
|
err = swconfig_create_led_trigger(dev);
|
||||||
|
|
Loading…
Reference in a new issue