patch-2.4.22 linux-2.4.22/drivers/video/pmagb-b-fb.c

Next file: linux-2.4.22/drivers/video/radeon.h
Previous file: linux-2.4.22/drivers/video/pmag-ba-fb.c
Back to the patch index
Back to the overall index

diff -urN linux-2.4.21/drivers/video/pmagb-b-fb.c linux-2.4.22/drivers/video/pmagb-b-fb.c
@@ -108,6 +108,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)