patch-2.2.14 linux/drivers/video/vga16fb.c

Next file: linux/fs/adfs/inode.c
Previous file: linux/drivers/video/tcxfb.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.2.13/linux/drivers/video/vga16fb.c linux/drivers/video/vga16fb.c
@@ -295,10 +295,14 @@
 	display->can_soft_blank = 1;
 	display->inverse = 0;
 
+#ifdef CONFIG_FBCON_VGA_PLANES
 	if (info->isVGA)
 		display->dispsw = &fbcon_vga_planes;
-	else
+	else	
 		display->dispsw = &fbcon_ega_planes;
+#else
+		display->dispsw = &fbcon_dummy;
+#endif	
 	display->scrollmode = SCROLL_YREDRAW;
 }
 

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