[POWERPC] Rename get_property to of_get_property: arch/powerpc
Signed-off-by: Stephen Rothwell <sfr@canb.auug.org.au> Acked-by: Benjamin Herrenschmidt <benh@kernel.crashing.org> Signed-off-by: Paul Mackerras <paulus@samba.org>
This commit is contained in:

committed by
Paul Mackerras

parent
ceef87782a
commit
e2eb63927b
@@ -74,7 +74,7 @@ void __init chrp_nvram_init(void)
|
||||
if (nvram == NULL)
|
||||
return;
|
||||
|
||||
nbytes_p = get_property(nvram, "#bytes", &proplen);
|
||||
nbytes_p = of_get_property(nvram, "#bytes", &proplen);
|
||||
if (nbytes_p == NULL || proplen != sizeof(unsigned int))
|
||||
return;
|
||||
|
||||
|
Reference in New Issue
Block a user