patch-2.3.51 linux/drivers/video/matrox/i2c-matroxfb.c

Next file: linux/drivers/video/matrox/matroxfb_maven.c
Previous file: linux/drivers/video/fbmon.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.3.50/linux/drivers/video/matrox/i2c-matroxfb.c linux/drivers/video/matrox/i2c-matroxfb.c
@@ -287,6 +287,9 @@
 	matroxfb_DAC_unlock_irqrestore(flags);
 
 	memset(m2info, 0, sizeof(*m2info));
+	m2info->maven.minfo = m2info;
+	m2info->ddc1.minfo = m2info;
+	m2info->ddc2.minfo = m2info;
 	m2info->primary_dev = minfo;
 
 	if (ACCESS_FBINFO(devflags.accelerator) == FB_ACCEL_MATROX_MGA2064W ||

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)