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

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

diff -urN linux-2.4.18/drivers/video/pmagb-b-fb.c linux-2.4.19/drivers/video/pmagb-b-fb.c
@@ -94,7 +94,7 @@
 };
 
 static int currcon = 0;
-struct pmagbbfb_par current_par;
+static struct pmagbbfb_par current_par;
 
 static void pmagbbfb_encode_var(struct fb_var_screeninfo *var,
 				struct pmagbbfb_par *par)
@@ -327,7 +327,7 @@
 	display->next_line = fix.line_length;
 	display->can_soft_blank = 0;
 	display->inverse = 0;
-
+	display->scrollmode = SCROLL_YREDRAW;
 	display->dispsw = &fbcon_cfb8;
 }
 
@@ -428,9 +428,4 @@
 	}
 }
 
-int __init pmagbbfb_setup(char *options)
-{
-	return 0;
-}
-
 MODULE_LICENSE("GPL");

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