X-Git-Url: http://ftp.safe.ca/?a=blobdiff_plain;f=drivers%2Fvideo%2Foffb.c;fp=drivers%2Fvideo%2Foffb.c;h=885b42836cbb31f81b142154305fc90b335c5d18;hb=55b61fec22caa3e7872caea6c4100fc75cb8f49b;hp=3cf603c0127f9b2af92a7efae3642212a12b1c97;hpb=d9333afd6a714760c13f76ba275a32ec7bd979c1;p=safe%2Fjmp%2Flinux-2.6 diff --git a/drivers/video/offb.c b/drivers/video/offb.c index 3cf603c..885b428 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, ioremap(base + 0x7ff000, 0x1000) + 0xcc0; par->cmap_data = par->cmap_adr + 1; par->cmap_type = cmap_m64; - } else if (dp && (device_is_compatible(dp, "pci1014,b7") || - device_is_compatible(dp, "pci1014,21c"))) { + } else if (dp && (of_device_is_compatible(dp, "pci1014,b7") || + of_device_is_compatible(dp, "pci1014,21c"))) { par->cmap_adr = offb_map_reg(dp, 0, 0x6000, 0x1000); if (par->cmap_adr) par->cmap_type = cmap_gxt2000;