diff options
author | Stephen Rothwell <sfr@canb.auug.org.au> | 2007-05-03 03:26:52 -0400 |
---|---|---|
committer | Paul Mackerras <paulus@samba.org> | 2007-05-07 06:31:14 -0400 |
commit | 55b61fec22caa3e7872caea6c4100fc75cb8f49b (patch) | |
tree | 995c2cf733bbd9ee1adc6e77773b0e31e9c21267 /arch/powerpc/platforms/cell/interrupt.c | |
parent | d9333afd6a714760c13f76ba275a32ec7bd979c1 (diff) |
[POWERPC] Rename device_is_compatible to of_device_is_compatible
for consistency with other Open Firmware interfaces (and Sparc).
This is just a straight replacement.
This leaves the compatibility define in place.
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/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); |