powerpc/85xx: Fix warning for USB device-fixup
authorRamneek Mehresh <ramneek.mehresh@freescale.com>
Tue, 8 Nov 2011 07:39:20 +0000 (13:09 +0530)
committerKumar Gala <galak@kernel.crashing.org>
Tue, 8 Nov 2011 14:36:02 +0000 (08:36 -0600)
commit4765fb7d739d0a46a466f96cf4ef0126d44ab5d0
treecc841676eeb44e987e8869482c3966c7d3537200
parent72243c0194051f609fe3b24963465555c377eaaa
powerpc/85xx: Fix warning for USB device-fixup

Fix USB device-fixup warning "node not found". This was occuring
because of static nature of start_offset variable

Static start_offset was storing offset of last node modified, and
was becoming issue if node fixup is carried multiple times,
resulting in "node not found" warning

Signed-off-by: Ramneek Mehresh <ramneek.mehresh@freescale.com>
Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
arch/powerpc/cpu/mpc8xxx/fdt.c