Skip to content

Commit

Permalink
fbdev: matroxfb: Fix compilation after fb_var_screeninfo change
Browse files Browse the repository at this point in the history
Commit fb21c2f ("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 <laurent.pinchart@ideasonboard.com>
Signed-off-by: Florian Tobias Schandinat <FlorianSchandinat@gmx.de>
  • Loading branch information
Laurent Pinchart authored and Florian Tobias Schandinat committed Dec 21, 2011
1 parent 66cde97 commit 56bba8c
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 2 deletions.
1 change: 0 additions & 1 deletion drivers/video/matrox/matroxfb_base.c
Original file line number Diff line number Diff line change
Expand Up @@ -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}
};


Expand Down
1 change: 0 additions & 1 deletion drivers/video/matrox/matroxfb_crtc2.c
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit 56bba8c

Please sign in to comment.