- patches.apparmor/remove_suid_new_case_in_2.6.22.diff: Merge fix.
[linux-flexiantxendom0-3.2.10.git] / arch / powerpc / platforms / pseries / nvram.c
index 64163ce..f68903e 100644 (file)
@@ -130,7 +130,7 @@ int __init pSeries_nvram_init(void)
        if (nvram == NULL)
                return -ENODEV;
 
-       nbytes_p = get_property(nvram, "#bytes", &proplen);
+       nbytes_p = of_get_property(nvram, "#bytes", &proplen);
        if (nbytes_p == NULL || proplen != sizeof(unsigned int))
                return -EIO;