[POWERPC] Rename get_property to of_get_property: arch/powerpc
[deliverable/linux.git] / arch / powerpc / platforms / cell / cbe_regs.c
index 9a0ee62691d529f69a90779e5bbe62cd7e5fbdcd..7c94af4ac439a5208c92ef6408da77e221e2e689 100644 (file)
@@ -174,16 +174,15 @@ void __init cbe_regs_init(void)
                        if (cbe_thread_map[i].cpu_node == cpu)
                                cbe_thread_map[i].regs = map;
 
-               prop = get_property(cpu, "pervasive", NULL);
+               prop = of_get_property(cpu, "pervasive", NULL);
                if (prop != NULL)
                        map->pmd_regs = ioremap(prop->address, prop->len);
 
-               prop = get_property(cpu, "iic", NULL);
+               prop = of_get_property(cpu, "iic", NULL);
                if (prop != NULL)
                        map->iic_regs = ioremap(prop->address, prop->len);
 
-               prop = (struct address_prop *)get_property(cpu, "mic-tm",
-                                                          NULL);
+               prop = of_get_property(cpu, "mic-tm", NULL);
                if (prop != NULL)
                        map->mic_tm_regs = ioremap(prop->address, prop->len);
        }
This page took 0.037723 seconds and 5 git commands to generate.