swconfig: "swconfig list" shows devices in reverse order
authorblogic <blogic@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Wed, 29 Oct 2014 18:51:06 +0000 (18:51 +0000)
committerblogic <blogic@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Wed, 29 Oct 2014 18:51:06 +0000 (18:51 +0000)
commit0961aa1ea94312c3f06e13e30461c20540678933
treebdc3e643dcb35203f0d3e35de773ac8bc5a41790
parentc25f7b56d41cd581b6a9f9640a69df36781d63c5
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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43106 3c298f89-4303-0410-b956-a3cf2f4a3e73
target/linux/generic/files/drivers/net/phy/swconfig.c