swconfig: "swconfig list" shows devices in reverse order
authorJohn Crispin <john@openwrt.org>
Wed, 29 Oct 2014 18:51:06 +0000 (18:51 +0000)
committerJohn Crispin <john@openwrt.org>
Wed, 29 Oct 2014 18:51:06 +0000 (18:51 +0000)
commitab5d70e046ffccaf8547576c3a9910af0a0ba9fb
tree34ae150a09ca31a792149092bc4dfdba2d98fca1
parentc0bf47232a91eead7446b722ce2b712658b8303a
swconfig: "swconfig list" shows devices in reverse order

Boards that have more than one swconfig enabled switch will show the devices in
reverse order when call swconfig list. Fix this by using list_add_tail().

Signed-off-by: John Crispin <blogic@openwrt.org>
SVN-Revision: 43106
target/linux/generic/files/drivers/net/phy/swconfig.c