Skip to content

Commit

Permalink
xtensa: rename prom_update_property to of_update_property
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Max Filippov authored and Chris Zankel committed Feb 24, 2013
1 parent 19f949f commit 127bc79
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions arch/xtensa/platforms/xtfpga/setup.c
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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)
Expand Down

0 comments on commit 127bc79

Please sign in to comment.