diff options
author | John Crispin <john@openwrt.org> | 2014-10-29 19:24:16 +0000 |
---|---|---|
committer | John Crispin <john@openwrt.org> | 2014-10-29 19:24:16 +0000 |
commit | 62107ff367b44aa80126a81a86458f4adb3df015 (patch) | |
tree | b3f9b00594d5bc9613130d978e9452a3f3503a1b | |
parent | ab5d70e046ffccaf8547576c3a9910af0a0ba9fb (diff) | |
download | upstream-62107ff367b44aa80126a81a86458f4adb3df015.tar.gz upstream-62107ff367b44aa80126a81a86458f4adb3df015.tar.bz2 upstream-62107ff367b44aa80126a81a86458f4adb3df015.zip |
swconfig: last vs tail
sorry .....
Signed-off-by: John Crispin <blogic@openwrt.org>
SVN-Revision: 43107
-rw-r--r-- | target/linux/generic/files/drivers/net/phy/swconfig.c | 2 |
1 files changed, 1 insertions, 1 deletions
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); |