summaryrefslogtreecommitdiffstats
path: root/drivers/video/matrox/matroxfb_crtc2.c
diff options
context:
space:
mode:
authorLaurent Pinchart2011-12-20 20:00:11 +0100
committerFlorian Tobias Schandinat2011-12-21 03:26:11 +0100
commit56bba8cb4218b2646a1d80c100bad689f93fef79 (patch)
tree2b42810cd441181694b204936a8760f042f817d0 /drivers/video/matrox/matroxfb_crtc2.c
parents3fb: fix Virge/VX (diff)
downloadkernel-qcow2-linux-56bba8cb4218b2646a1d80c100bad689f93fef79.tar.gz
kernel-qcow2-linux-56bba8cb4218b2646a1d80c100bad689f93fef79.tar.xz
kernel-qcow2-linux-56bba8cb4218b2646a1d80c100bad689f93fef79.zip
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 <laurent.pinchart@ideasonboard.com> Signed-off-by: Florian Tobias Schandinat <FlorianSchandinat@gmx.de>
Diffstat (limited to 'drivers/video/matrox/matroxfb_crtc2.c')
-rw-r--r--drivers/video/matrox/matroxfb_crtc2.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/video/matrox/matroxfb_crtc2.c b/drivers/video/matrox/matroxfb_crtc2.c
index d7112c39614b..02796a4317a9 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,