X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=drivers%2Fvideo%2Fpmag-aa-fb.c;h=6515ec11c16ba250f55f6cbe6a10b6a74f7effca;hb=491539982aa01fa71de93c2a06ac5d890d4cf1e2;hp=68ca3cc40770ccda101cd79097f28a6d6952f980;hpb=d932cb7e630cae3b6b5307b767d296ff1a597c5e;p=linux-2.6 diff --git a/drivers/video/pmag-aa-fb.c b/drivers/video/pmag-aa-fb.c index 68ca3cc407..6515ec11c1 100644 --- a/drivers/video/pmag-aa-fb.c +++ b/drivers/video/pmag-aa-fb.c @@ -24,7 +24,6 @@ */ #include #include -#include #include #include #include @@ -151,7 +150,7 @@ static int aafbcon_set_font(struct display *disp, int width, int height) { struct aafb_info *info = (struct aafb_info *)disp->fb_info; struct aafb_cursor *c = &info->cursor; - u8 fgc = ~attr_bgcol_ec(disp, disp->conp); + u8 fgc = ~attr_bgcol_ec(disp, disp->conp, &info->info); if (width > 64 || height > 64 || width < 0 || height < 0) return -EINVAL;