X-Git-Url: http://ftp.safe.ca/?a=blobdiff_plain;f=drivers%2Fvideo%2Fffb.c;h=9dbb9646081f670a92c6c29733184a25c4ef107e;hb=886e3b7fe6054230c89ae078a09565ed183ecc73;hp=0f42a696d1766ea84c997dc584128b46b727dca1;hpb=59f7137a1369c25308672def38f3b126d0c7575a;p=safe%2Fjmp%2Flinux-2.6 diff --git a/drivers/video/ffb.c b/drivers/video/ffb.c index 0f42a69..9dbb964 100644 --- a/drivers/video/ffb.c +++ b/drivers/video/ffb.c @@ -16,11 +16,10 @@ #include #include #include +#include #include #include -#include -#include #include #include "sbuslib.h" @@ -941,7 +940,7 @@ static int __devinit ffb_probe(struct of_device *op, info->screen_base = (char *) par->physbase + FFB_DFB24_POFF; info->pseudo_palette = par->pseudo_palette; - sbusfb_fill_var(&info->var, dp->node, 32); + sbusfb_fill_var(&info->var, dp, 32); par->fbsize = PAGE_ALIGN(info->var.xres * info->var.yres * 4); ffb_fixup_var_rgb(&info->var); @@ -1043,7 +1042,7 @@ static int __devexit ffb_remove(struct of_device *op) return 0; } -static struct of_device_id ffb_match[] = { +static const struct of_device_id ffb_match[] = { { .name = "SUNW,ffb", },