patch-2.4.22 linux-2.4.22/drivers/video/pmag-ba-fb.c

Next file: linux-2.4.22/drivers/video/pmagb-b-fb.c
Previous file: linux-2.4.22/drivers/video/newport_con.c
Back to the patch index
Back to the overall index

diff -urN linux-2.4.21/drivers/video/pmag-ba-fb.c linux-2.4.22/drivers/video/pmag-ba-fb.c
@@ -105,6 +105,15 @@
 	var->yoffset = 0;
 	var->bits_per_pixel = 8;
 	var->grayscale = 0;
+	var->red.offset = 0;
+	var->red.length = 8;
+	var->red.msb_right = 0;
+	var->green.offset = 0;
+	var->green.length = 8;
+	var->green.msb_right = 0;
+	var->blue.offset = 0;
+	var->blue.length = 8;
+	var->blue.msb_right = 0;
 	var->transp.offset = 0;
 	var->transp.length = 0;
 	var->transp.msb_right = 0;

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