xtensa: rename prom_update_property to of_update_property
authorMax Filippov <jcmvbkbc@gmail.com>
Sat, 22 Dec 2012 03:10:11 +0000 (07:10 +0400)
committerChris Zankel <chris@zankel.net>
Sun, 24 Feb 2013 03:12:51 +0000 (19:12 -0800)
This rename happened in 79d1c71 powerpc+of: Rename the drivers/of prom_*
functions to of_*.

Signed-off-by: Max Filippov <jcmvbkbc@gmail.com>
Signed-off-by: Chris Zankel <chris@zankel.net>
arch/xtensa/platforms/xtfpga/setup.c

index 4b9951a4569dafb7288a72245cf3b8e5fd12e08f..9d888a2a5755c1ad039bbfe1ced240b6598d0b0f 100644 (file)
@@ -100,7 +100,7 @@ static void __init update_clock_frequency(struct device_node *node)
        }
 
        *(u32 *)newfreq->value = cpu_to_be32(*(u32 *)XTFPGA_CLKFRQ_VADDR);
-       prom_update_property(node, newfreq);
+       of_update_property(node, newfreq);
 }
 
 #define MAC_LEN 6
@@ -128,7 +128,7 @@ static void __init update_local_mac(struct device_node *node)
 
        memcpy(newmac->value, macaddr, MAC_LEN);
        ((u8*)newmac->value)[5] = (*(u32*)DIP_SWITCHES_VADDR) & 0x3f;
-       prom_update_property(node, newmac);
+       of_update_property(node, newmac);
 }
 
 static int __init machine_setup(void)