diff options
author | Max Filippov <jcmvbkbc@gmail.com> | 2012-12-21 22:10:11 -0500 |
---|---|---|
committer | Chris Zankel <chris@zankel.net> | 2013-02-23 22:12:51 -0500 |
commit | 127bc79e30387c57206aab8d9d0ef6c8c34a474e (patch) | |
tree | c7b172e38606b59af62850632d8a418afccc9701 /arch | |
parent | 19f949f52599ba7c3f67a5897ac6be14bfcb1200 (diff) |
xtensa: rename prom_update_property to of_update_property
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>
Diffstat (limited to 'arch')
-rw-r--r-- | arch/xtensa/platforms/xtfpga/setup.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/xtensa/platforms/xtfpga/setup.c b/arch/xtensa/platforms/xtfpga/setup.c index 4b9951a4569d..9d888a2a5755 100644 --- a/arch/xtensa/platforms/xtfpga/setup.c +++ b/arch/xtensa/platforms/xtfpga/setup.c | |||
@@ -100,7 +100,7 @@ static void __init update_clock_frequency(struct device_node *node) | |||
100 | } | 100 | } |
101 | 101 | ||
102 | *(u32 *)newfreq->value = cpu_to_be32(*(u32 *)XTFPGA_CLKFRQ_VADDR); | 102 | *(u32 *)newfreq->value = cpu_to_be32(*(u32 *)XTFPGA_CLKFRQ_VADDR); |
103 | prom_update_property(node, newfreq); | 103 | of_update_property(node, newfreq); |
104 | } | 104 | } |
105 | 105 | ||
106 | #define MAC_LEN 6 | 106 | #define MAC_LEN 6 |
@@ -128,7 +128,7 @@ static void __init update_local_mac(struct device_node *node) | |||
128 | 128 | ||
129 | memcpy(newmac->value, macaddr, MAC_LEN); | 129 | memcpy(newmac->value, macaddr, MAC_LEN); |
130 | ((u8*)newmac->value)[5] = (*(u32*)DIP_SWITCHES_VADDR) & 0x3f; | 130 | ((u8*)newmac->value)[5] = (*(u32*)DIP_SWITCHES_VADDR) & 0x3f; |
131 | prom_update_property(node, newmac); | 131 | of_update_property(node, newmac); |
132 | } | 132 | } |
133 | 133 | ||
134 | static int __init machine_setup(void) | 134 | static int __init machine_setup(void) |