From: Laurent Pinchart Date: Tue, 20 Dec 2011 19:00:11 +0000 (+0100) Subject: fbdev: matroxfb: Fix compilation after fb_var_screeninfo change X-Git-Tag: v3.3-rc3~7^2~19 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=56bba8cb4218b2646a1d80c100bad689f93fef79;p=platform%2Fkernel%2Flinux-3.10.git fbdev: matroxfb: Fix compilation after fb_var_screeninfo change Commit fb21c2f42879 ("fbdev: Add FOURCC-based format configuration API") modified the layout of the fb_var_screeninfo structure. Remove zero fields from the static initializers in the matroxfb driver accordingly. Signed-off-by: Laurent Pinchart Signed-off-by: Florian Tobias Schandinat --- diff --git a/drivers/video/matrox/matroxfb_base.c b/drivers/video/matrox/matroxfb_base.c index 44bf8d4..401a56e 100644 --- a/drivers/video/matrox/matroxfb_base.c +++ b/drivers/video/matrox/matroxfb_base.c @@ -147,7 +147,6 @@ static struct fb_var_screeninfo vesafb_defined = { 39721L,48L,16L,33L,10L, 96L,2L,~0, /* No sync info */ FB_VMODE_NONINTERLACED, - 0, {0,0,0,0,0} }; diff --git a/drivers/video/matrox/matroxfb_crtc2.c b/drivers/video/matrox/matroxfb_crtc2.c index d7112c3..02796a4 100644 --- a/drivers/video/matrox/matroxfb_crtc2.c +++ b/drivers/video/matrox/matroxfb_crtc2.c @@ -593,7 +593,6 @@ static struct fb_var_screeninfo matroxfb_dh_defined = { 39721L,48L,16L,33L,10L, 96L,2,0, /* no sync info */ FB_VMODE_NONINTERLACED, - 0, {0,0,0,0,0} }; static int matroxfb_dh_regit(const struct matrox_fb_info *minfo,