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/platforms/cell/spider-pic.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/platforms/cell/spider-pic.c')
-rw-r--r-- | arch/powerpc/platforms/cell/spider-pic.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/arch/powerpc/platforms/cell/spider-pic.c b/arch/powerpc/platforms/cell/spider-pic.c index 21a9ebd4978e..fb1f15797bbb 100644 --- a/arch/powerpc/platforms/cell/spider-pic.c +++ b/arch/powerpc/platforms/cell/spider-pic.c | |||
@@ -254,25 +254,25 @@ static unsigned int __init spider_find_cascade_and_node(struct spider_pic *pic) | |||
254 | } | 254 | } |
255 | 255 | ||
256 | /* Now do the horrible hacks */ | 256 | /* Now do the horrible hacks */ |
257 | tmp = get_property(pic->of_node, "#interrupt-cells", NULL); | 257 | tmp = of_get_property(pic->of_node, "#interrupt-cells", NULL); |
258 | if (tmp == NULL) | 258 | if (tmp == NULL) |
259 | return NO_IRQ; | 259 | return NO_IRQ; |
260 | intsize = *tmp; | 260 | intsize = *tmp; |
261 | imap = get_property(pic->of_node, "interrupt-map", &imaplen); | 261 | imap = of_get_property(pic->of_node, "interrupt-map", &imaplen); |
262 | if (imap == NULL || imaplen < (intsize + 1)) | 262 | if (imap == NULL || imaplen < (intsize + 1)) |
263 | return NO_IRQ; | 263 | return NO_IRQ; |
264 | iic = of_find_node_by_phandle(imap[intsize]); | 264 | iic = of_find_node_by_phandle(imap[intsize]); |
265 | if (iic == NULL) | 265 | if (iic == NULL) |
266 | return NO_IRQ; | 266 | return NO_IRQ; |
267 | imap += intsize + 1; | 267 | imap += intsize + 1; |
268 | tmp = get_property(iic, "#interrupt-cells", NULL); | 268 | tmp = of_get_property(iic, "#interrupt-cells", NULL); |
269 | if (tmp == NULL) | 269 | if (tmp == NULL) |
270 | return NO_IRQ; | 270 | return NO_IRQ; |
271 | intsize = *tmp; | 271 | intsize = *tmp; |
272 | /* Assume unit is last entry of interrupt specifier */ | 272 | /* Assume unit is last entry of interrupt specifier */ |
273 | unit = imap[intsize - 1]; | 273 | unit = imap[intsize - 1]; |
274 | /* Ok, we have a unit, now let's try to get the node */ | 274 | /* Ok, we have a unit, now let's try to get the node */ |
275 | tmp = get_property(iic, "ibm,interrupt-server-ranges", NULL); | 275 | tmp = of_get_property(iic, "ibm,interrupt-server-ranges", NULL); |
276 | if (tmp == NULL) { | 276 | if (tmp == NULL) { |
277 | of_node_put(iic); | 277 | of_node_put(iic); |
278 | return NO_IRQ; | 278 | return NO_IRQ; |