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/85xx | |
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/85xx')
-rw-r--r-- | arch/powerpc/platforms/85xx/mpc8544_ds.c | 2 | ||||
-rw-r--r-- | arch/powerpc/platforms/85xx/mpc85xx_cds.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/arch/powerpc/platforms/85xx/mpc8544_ds.c b/arch/powerpc/platforms/85xx/mpc8544_ds.c index 2867f85e6325..bec84ffe708e 100644 --- a/arch/powerpc/platforms/85xx/mpc8544_ds.c +++ b/arch/powerpc/platforms/85xx/mpc8544_ds.c | |||
@@ -84,7 +84,7 @@ void __init mpc8544_ds_pic_init(void) | |||
84 | #ifdef CONFIG_PPC_I8259 | 84 | #ifdef CONFIG_PPC_I8259 |
85 | /* Initialize the i8259 controller */ | 85 | /* Initialize the i8259 controller */ |
86 | for_each_node_by_type(np, "interrupt-controller") | 86 | for_each_node_by_type(np, "interrupt-controller") |
87 | if (device_is_compatible(np, "chrp,iic")) { | 87 | if (of_device_is_compatible(np, "chrp,iic")) { |
88 | cascade_node = np; | 88 | cascade_node = np; |
89 | break; | 89 | break; |
90 | } | 90 | } |
diff --git a/arch/powerpc/platforms/85xx/mpc85xx_cds.c b/arch/powerpc/platforms/85xx/mpc85xx_cds.c index 7e71636f9098..1490eb3ce0d3 100644 --- a/arch/powerpc/platforms/85xx/mpc85xx_cds.c +++ b/arch/powerpc/platforms/85xx/mpc85xx_cds.c | |||
@@ -197,7 +197,7 @@ static void __init mpc85xx_cds_pic_init(void) | |||
197 | #ifdef CONFIG_PPC_I8259 | 197 | #ifdef CONFIG_PPC_I8259 |
198 | /* Initialize the i8259 controller */ | 198 | /* Initialize the i8259 controller */ |
199 | for_each_node_by_type(np, "interrupt-controller") | 199 | for_each_node_by_type(np, "interrupt-controller") |
200 | if (device_is_compatible(np, "chrp,iic")) { | 200 | if (of_device_is_compatible(np, "chrp,iic")) { |
201 | cascade_node = np; | 201 | cascade_node = np; |
202 | break; | 202 | break; |
203 | } | 203 | } |