diff options
author | Stephen Rothwell <sfr@canb.auug.org.au> | 2007-04-03 08:26:41 -0400 |
---|---|---|
committer | Paul Mackerras <paulus@samba.org> | 2007-04-12 13:55:19 -0400 |
commit | e2eb63927bfcb54232163bfec32440246fd44457 (patch) | |
tree | 596656edeb2332b5134d8236fa50b87f2c0ece29 /arch/powerpc/kernel/time.c | |
parent | ceef87782a9452eeeca774e65d7f4e06455780a3 (diff) |
[POWERPC] Rename get_property to of_get_property: arch/powerpc
Signed-off-by: Stephen Rothwell <sfr@canb.auug.org.au>
Acked-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Signed-off-by: Paul Mackerras <paulus@samba.org>
Diffstat (limited to 'arch/powerpc/kernel/time.c')
-rw-r--r-- | arch/powerpc/kernel/time.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/powerpc/kernel/time.c b/arch/powerpc/kernel/time.c index f6f0c6b07c4c..7cedef8f5f70 100644 --- a/arch/powerpc/kernel/time.c +++ b/arch/powerpc/kernel/time.c | |||
@@ -834,7 +834,7 @@ static int __init get_freq(char *name, int cells, unsigned long *val) | |||
834 | cpu = of_find_node_by_type(NULL, "cpu"); | 834 | cpu = of_find_node_by_type(NULL, "cpu"); |
835 | 835 | ||
836 | if (cpu) { | 836 | if (cpu) { |
837 | fp = get_property(cpu, name, NULL); | 837 | fp = of_get_property(cpu, name, NULL); |
838 | if (fp) { | 838 | if (fp) { |
839 | found = 1; | 839 | found = 1; |
840 | *val = of_read_ulong(fp, cells); | 840 | *val = of_read_ulong(fp, cells); |