[POWERPC] wrapper: Rename offset in offset_devp()
commit754e5f3f3a96264b96d5593242d81c7468af70cb
authorScott Wood <scottwood@freescale.com>
Tue, 11 Dec 2007 21:23:04 +0000 (12 08:23 +1100)
committerPaul Mackerras <paulus@samba.org>
Thu, 20 Dec 2007 05:11:46 +0000 (20 16:11 +1100)
treeb55dc0a2c191e27d3fcf0fe58f2ceb5ff94bdd91
parent5c3f5892a2db6757a72ce8b27cba90db06683e1d
[POWERPC] wrapper: Rename offset in offset_devp()

fdt_wrapper_create_node passes a variable called offset to offset_devp(),
which uses said parameter to initialize a local variable called offset.

Due to one of the odder aspects of the C language, the result is an
undefined variable, with no error or warning.

Signed-off-by: Scott Wood <scottwood@freescale.com>
Acked-by: David Gibson <david@gibson.dropbear.id.au>
Signed-off-by: Paul Mackerras <paulus@samba.org>
arch/powerpc/boot/libfdt-wrapper.c