From 62107ff367b44aa80126a81a86458f4adb3df015 Mon Sep 17 00:00:00 2001 From: John Crispin Date: Wed, 29 Oct 2014 19:24:16 +0000 Subject: [PATCH] swconfig: last vs tail sorry ..... Signed-off-by: John Crispin SVN-Revision: 43107 --- target/linux/generic/files/drivers/net/phy/swconfig.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/target/linux/generic/files/drivers/net/phy/swconfig.c b/target/linux/generic/files/drivers/net/phy/swconfig.c index de1dde22cff..4f2df4cf8a3 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); -- 2.30.2