X-Git-Url: http://pilppa.org/gitweb/gitweb.cgi?a=blobdiff_plain;f=drivers%2Fvideo%2Fcg6.c;h=2f64bb3bd2540e7f5c77c03e7d5894578ddad572;hb=cdc18a670923d01a762d66be582bfe763772d441;hp=fc90db6da65a94267e8e2e8f22865b5843abdabb;hpb=9781db7b345b5dfe93787aaaf310c861db7c1ede;p=linux-2.6-omap-h63xx.git diff --git a/drivers/video/cg6.c b/drivers/video/cg6.c index fc90db6da65..2f64bb3bd25 100644 --- a/drivers/video/cg6.c +++ b/drivers/video/cg6.c @@ -17,9 +17,9 @@ #include #include #include +#include #include -#include #include #include "sbuslib.h" @@ -728,7 +728,7 @@ static int __devinit cg6_probe(struct of_device *op, par->physbase = op->resource[0].start; par->which_io = op->resource[0].flags & IORESOURCE_BITS; - sbusfb_fill_var(&info->var, dp->node, 8); + sbusfb_fill_var(&info->var, dp, 8); info->var.red.length = 8; info->var.green.length = 8; info->var.blue.length = 8; @@ -767,7 +767,7 @@ static int __devinit cg6_probe(struct of_device *op, cg6_bt_init(par); cg6_chip_init(info); - cg6_blank(0, info); + cg6_blank(FB_BLANK_UNBLANK, info); if (fb_alloc_cmap(&info->cmap, 256, 0)) goto out_unmap_regs;