diff options
Diffstat (limited to 'arch/powerpc/platforms/cell/interrupt.c')
-rw-r--r-- | arch/powerpc/platforms/cell/interrupt.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/powerpc/platforms/cell/interrupt.c b/arch/powerpc/platforms/cell/interrupt.c index 6666d037eb44..4fc4e92775d0 100644 --- a/arch/powerpc/platforms/cell/interrupt.c +++ b/arch/powerpc/platforms/cell/interrupt.c | |||
@@ -261,7 +261,7 @@ static int iic_host_xlate(struct irq_host *h, struct device_node *ct, | |||
261 | return -ENODEV; | 261 | return -ENODEV; |
262 | if (intsize != 1) | 262 | if (intsize != 1) |
263 | return -ENODEV; | 263 | return -ENODEV; |
264 | val = get_property(ct, "#interrupt-cells", NULL); | 264 | val = of_get_property(ct, "#interrupt-cells", NULL); |
265 | if (val == NULL || *val != 1) | 265 | if (val == NULL || *val != 1) |
266 | return -ENODEV; | 266 | return -ENODEV; |
267 | 267 | ||
@@ -327,7 +327,7 @@ static int __init setup_iic(void) | |||
327 | if (!device_is_compatible(dn, | 327 | if (!device_is_compatible(dn, |
328 | "IBM,CBEA-Internal-Interrupt-Controller")) | 328 | "IBM,CBEA-Internal-Interrupt-Controller")) |
329 | continue; | 329 | continue; |
330 | np = get_property(dn, "ibm,interrupt-server-ranges", NULL); | 330 | np = of_get_property(dn, "ibm,interrupt-server-ranges", NULL); |
331 | if (np == NULL) { | 331 | if (np == NULL) { |
332 | printk(KERN_WARNING "IIC: CPU association not found\n"); | 332 | printk(KERN_WARNING "IIC: CPU association not found\n"); |
333 | of_node_put(dn); | 333 | of_node_put(dn); |