diff options
Diffstat (limited to 'arch/powerpc/platforms/cell/interrupt.c')
-rw-r--r-- | arch/powerpc/platforms/cell/interrupt.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/arch/powerpc/platforms/cell/interrupt.c b/arch/powerpc/platforms/cell/interrupt.c index 4fc4e92775d0..47264e722029 100644 --- a/arch/powerpc/platforms/cell/interrupt.c +++ b/arch/powerpc/platforms/cell/interrupt.c | |||
@@ -227,7 +227,7 @@ void iic_request_IPIs(void) | |||
227 | 227 | ||
228 | static int iic_host_match(struct irq_host *h, struct device_node *node) | 228 | static int iic_host_match(struct irq_host *h, struct device_node *node) |
229 | { | 229 | { |
230 | return device_is_compatible(node, | 230 | return of_device_is_compatible(node, |
231 | "IBM,CBEA-Internal-Interrupt-Controller"); | 231 | "IBM,CBEA-Internal-Interrupt-Controller"); |
232 | } | 232 | } |
233 | 233 | ||
@@ -256,7 +256,7 @@ static int iic_host_xlate(struct irq_host *h, struct device_node *ct, | |||
256 | unsigned int node, ext, unit, class; | 256 | unsigned int node, ext, unit, class; |
257 | const u32 *val; | 257 | const u32 *val; |
258 | 258 | ||
259 | if (!device_is_compatible(ct, | 259 | if (!of_device_is_compatible(ct, |
260 | "IBM,CBEA-Internal-Interrupt-Controller")) | 260 | "IBM,CBEA-Internal-Interrupt-Controller")) |
261 | return -ENODEV; | 261 | return -ENODEV; |
262 | if (intsize != 1) | 262 | if (intsize != 1) |
@@ -324,7 +324,7 @@ static int __init setup_iic(void) | |||
324 | 324 | ||
325 | for (dn = NULL; | 325 | for (dn = NULL; |
326 | (dn = of_find_node_by_name(dn,"interrupt-controller")) != NULL;) { | 326 | (dn = of_find_node_by_name(dn,"interrupt-controller")) != NULL;) { |
327 | if (!device_is_compatible(dn, | 327 | if (!of_device_is_compatible(dn, |
328 | "IBM,CBEA-Internal-Interrupt-Controller")) | 328 | "IBM,CBEA-Internal-Interrupt-Controller")) |
329 | continue; | 329 | continue; |
330 | np = of_get_property(dn, "ibm,interrupt-server-ranges", NULL); | 330 | np = of_get_property(dn, "ibm,interrupt-server-ranges", NULL); |