X-Git-Url: https://git.karo-electronics.de/?a=blobdiff_plain;f=drivers%2Fvideo%2Fpmag-aa-fb.c;h=838424817de2307e0af1c92358ebaf412d5b7c92;hb=4462dc02842698f173f518c1f5ce79c0fb89395a;hp=68ca3cc40770ccda101cd79097f28a6d6952f980;hpb=57cad8084e0837e0f2c97da789ec9b3f36809be9;p=karo-tx-linux.git diff --git a/drivers/video/pmag-aa-fb.c b/drivers/video/pmag-aa-fb.c index 68ca3cc40770..838424817de2 100644 --- a/drivers/video/pmag-aa-fb.c +++ b/drivers/video/pmag-aa-fb.c @@ -24,12 +24,10 @@ */ #include #include -#include #include #include #include #include -#include #include #include #include @@ -151,7 +149,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;