Commit 127bc79e authored by Max Filippov's avatar Max Filippov Committed by Chris Zankel

xtensa: rename prom_update_property to of_update_property

This rename happened in 79d1c712 powerpc+of: Rename the drivers/of prom_*
functions to of_*.
Signed-off-by: default avatarMax Filippov <jcmvbkbc@gmail.com>
Signed-off-by: default avatarChris Zankel <chris@zankel.net>
parent 19f949f5
...@@ -100,7 +100,7 @@ static void __init update_clock_frequency(struct device_node *node) ...@@ -100,7 +100,7 @@ static void __init update_clock_frequency(struct device_node *node)
} }
*(u32 *)newfreq->value = cpu_to_be32(*(u32 *)XTFPGA_CLKFRQ_VADDR); *(u32 *)newfreq->value = cpu_to_be32(*(u32 *)XTFPGA_CLKFRQ_VADDR);
prom_update_property(node, newfreq); of_update_property(node, newfreq);
} }
#define MAC_LEN 6 #define MAC_LEN 6
...@@ -128,7 +128,7 @@ static void __init update_local_mac(struct device_node *node) ...@@ -128,7 +128,7 @@ static void __init update_local_mac(struct device_node *node)
memcpy(newmac->value, macaddr, MAC_LEN); memcpy(newmac->value, macaddr, MAC_LEN);
((u8*)newmac->value)[5] = (*(u32*)DIP_SWITCHES_VADDR) & 0x3f; ((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) static int __init machine_setup(void)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment