X-Git-Url: https://git.proxmox.com/?a=blobdiff_plain;f=drivers%2Fvideo%2Fpmag-aa-fb.c;h=6515ec11c16ba250f55f6cbe6a10b6a74f7effca;hb=5e30302b9ee75a01d65d8dcf4085254a5da1066d;hp=d92f352211efcdce0340ba94907b60d51d995d3d;hpb=67a6680d64e18c7a1901f31ef747ea53b6cd986d;p=mirror_ubuntu-artful-kernel.git diff --git a/drivers/video/pmag-aa-fb.c b/drivers/video/pmag-aa-fb.c index d92f352211ef..6515ec11c16b 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 @@ -152,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;