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