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

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

diff -urN linux-2.4.18/drivers/video/pmag-ba-fb.c linux-2.4.19/drivers/video/pmag-ba-fb.c
@@ -91,7 +91,7 @@
 };
 
 static int currcon = 0;
-struct pmagbafb_par current_par;
+static struct pmagbafb_par current_par;
 
 static void pmagbafb_encode_var(struct fb_var_screeninfo *var,
 				struct pmagbafb_par *par)
@@ -324,7 +324,7 @@
 	display->next_line = fix.line_length;
 	display->can_soft_blank = 0;
 	display->inverse = 0;
-
+	display->scrollmode = SCROLL_YREDRAW;
 	display->dispsw = &fbcon_cfb8;
 }
 
@@ -425,9 +425,4 @@
 	}
 }
 
-int __init pmagbafb_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)