diff options
author | Stephen Rothwell <sfr@canb.auug.org.au> | 2007-04-29 02:29:08 -0400 |
---|---|---|
committer | Paul Mackerras <paulus@samba.org> | 2007-04-29 21:02:05 -0400 |
commit | 12d371a69e6df96cd949af6bcb569e978e8f9d41 (patch) | |
tree | 30ed043c2d262b1bf25cbc0a1e19111dc7ac407e /arch/powerpc/platforms/cell/ras.c | |
parent | 8d1cea6e1439a113b1f17eab9b4e2f0cfc24bbb0 (diff) |
[POWERPC] get_property cleanups
Just another pass through arch/powerpc for old usages.
Signed-off-by: Stephen Rothwell <sfr@canb.auug.org.au>
Signed-off-by: Paul Mackerras <paulus@samba.org>
Diffstat (limited to 'arch/powerpc/platforms/cell/ras.c')
-rw-r--r-- | arch/powerpc/platforms/cell/ras.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/powerpc/platforms/cell/ras.c b/arch/powerpc/platforms/cell/ras.c index b5ebc916388..3961a085b43 100644 --- a/arch/powerpc/platforms/cell/ras.c +++ b/arch/powerpc/platforms/cell/ras.c | |||
@@ -149,7 +149,7 @@ static int __init cbe_ptcal_enable(void) | |||
149 | if (!np) | 149 | if (!np) |
150 | return -ENODEV; | 150 | return -ENODEV; |
151 | 151 | ||
152 | size = get_property(np, "ibm,cbe-ptcal-size", NULL); | 152 | size = of_get_property(np, "ibm,cbe-ptcal-size", NULL); |
153 | if (!size) | 153 | if (!size) |
154 | return -ENODEV; | 154 | return -ENODEV; |
155 | 155 | ||
@@ -168,7 +168,7 @@ static int __init cbe_ptcal_enable(void) | |||
168 | 168 | ||
169 | /* support for older device tree - use cpu nodes */ | 169 | /* support for older device tree - use cpu nodes */ |
170 | for_each_node_by_type(np, "cpu") { | 170 | for_each_node_by_type(np, "cpu") { |
171 | const u32 *nid = get_property(np, "node-id", NULL); | 171 | const u32 *nid = of_get_property(np, "node-id", NULL); |
172 | if (!nid) { | 172 | if (!nid) { |
173 | printk(KERN_ERR "%s: node %s is missing node-id?\n", | 173 | printk(KERN_ERR "%s: node %s is missing node-id?\n", |
174 | __FUNCTION__, np->full_name); | 174 | __FUNCTION__, np->full_name); |