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 /drivers/video | |
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 'drivers/video')
-rw-r--r-- | drivers/video/offb.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/video/offb.c b/drivers/video/offb.c index 3cf603c0127f..885b42836cbb 100644 --- a/drivers/video/offb.c +++ b/drivers/video/offb.c | |||
@@ -322,8 +322,8 @@ static void __init offb_init_fb(const char *name, const char *full_name, | |||
322 | ioremap(base + 0x7ff000, 0x1000) + 0xcc0; | 322 | ioremap(base + 0x7ff000, 0x1000) + 0xcc0; |
323 | par->cmap_data = par->cmap_adr + 1; | 323 | par->cmap_data = par->cmap_adr + 1; |
324 | par->cmap_type = cmap_m64; | 324 | par->cmap_type = cmap_m64; |
325 | } else if (dp && (device_is_compatible(dp, "pci1014,b7") || | 325 | } else if (dp && (of_device_is_compatible(dp, "pci1014,b7") || |
326 | device_is_compatible(dp, "pci1014,21c"))) { | 326 | of_device_is_compatible(dp, "pci1014,21c"))) { |
327 | par->cmap_adr = offb_map_reg(dp, 0, 0x6000, 0x1000); | 327 | par->cmap_adr = offb_map_reg(dp, 0, 0x6000, 0x1000); |
328 | if (par->cmap_adr) | 328 | if (par->cmap_adr) |
329 | par->cmap_type = cmap_gxt2000; | 329 | par->cmap_type = cmap_gxt2000; |