X-Git-Url: http://pilppa.org/gitweb/?a=blobdiff_plain;f=drivers%2Fvideo%2Fcg3.c;h=99f87fb61d0558e816541fe0f133f79c2700decc;hb=92fb83afd6664a6f8a05f990d264c998f9b99f69;hp=e31e26a6bb79a449fc15f600f3642f4bb016b397;hpb=26c5e98e88a6126adef2ddce21899e5afe823a2b;p=linux-2.6-omap-h63xx.git diff --git a/drivers/video/cg3.c b/drivers/video/cg3.c index e31e26a6bb7..99f87fb61d0 100644 --- a/drivers/video/cg3.c +++ b/drivers/video/cg3.c @@ -17,11 +17,9 @@ #include #include #include +#include #include -#include -#include -#include #include #include "sbuslib.h" @@ -373,7 +371,7 @@ static int __devinit cg3_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; @@ -458,7 +456,7 @@ static int __devexit cg3_remove(struct of_device *op) return 0; } -static struct of_device_id cg3_match[] = { +static const struct of_device_id cg3_match[] = { { .name = "cgthree", },