From 8d61307dec507a02c5e5aa7b6633a933c6eceb37 Mon Sep 17 00:00:00 2001 From: John Crispin Date: Wed, 29 Oct 2014 19:24:16 +0000 Subject: swconfig: last vs tail sorry ..... Signed-off-by: John Crispin git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43107 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- target/linux/generic/files/drivers/net/phy/swconfig.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'target') diff --git a/target/linux/generic/files/drivers/net/phy/swconfig.c b/target/linux/generic/files/drivers/net/phy/swconfig.c index de1dde22cf..4f2df4cf8a 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); -- cgit v1.2.3