patch-2.4.0-test3 linux/drivers/video/matrox/matroxfb_maven.c

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

diff -u --recursive --new-file v2.4.0-test2/linux/drivers/video/matrox/matroxfb_maven.c linux/drivers/video/matrox/matroxfb_maven.c
@@ -892,9 +892,9 @@
 
 static int maven_init_client(struct i2c_client* clnt) {
 	struct i2c_adapter* a = clnt->adapter;
-	struct matroxfb_dh_maven_info* m2info = ((struct i2c_bit_adapter*)a)->minfo;
 	struct maven_data* md = clnt->data;
-	struct matrox_fb_info* minfo = m2info->primary_dev;
+	struct matroxfb_dh_maven_info* m2info __attribute__((unused)) = ((struct i2c_bit_adapter*)a)->minfo;
+	MINFO_FROM(m2info->primary_dev);
 
 	md->mode = MODE_MONITOR;
 	md->primary_head = MINFO;

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