MIPS: lantiq: unbreak devicetree init
authorJohn Crispin <blogic@openwrt.org>
Fri, 9 Nov 2012 11:09:57 +0000 (12:09 +0100)
committerJohn Crispin <blogic@openwrt.org>
Sun, 11 Nov 2012 17:44:05 +0000 (18:44 +0100)
commita15d129a352e5f6ab821b81bc3f692ecc952a815
tree1af7acc485e7d673eb43b828f57305c6c2ba35db
parent69b1803ab79ebda75df2bfcb1c2a54d6c3de5325
MIPS: lantiq: unbreak devicetree init

The bootmem was incorrectly freed resulting in lots of dangling pointers.
Additionally we should use of_platform_populate() as the Documentaion tells us
to do so.

Signed-off-by: John Crispin <blogic@openwrt.org>
Patchwork: http://patchwork.linux-mips.org/patch/4518
arch/mips/lantiq/prom.c