patch-2.1.124 linux/drivers/video/dnfb.c

Next file: linux/drivers/video/fbcmap.c
Previous file: linux/drivers/video/cyberfb.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.1.123/linux/drivers/video/dnfb.c linux/drivers/video/dnfb.c
@@ -14,7 +14,7 @@
 #include <linux/fb.h>
 #include <linux/module.h>
 
-#include "fbcon-mfb.h"
+#include <video/fbcon-mfb.h>
 
 
 /* apollo video HW definitions */
@@ -306,7 +306,7 @@
 #ifdef FBCON_HAS_MFB
    disp[con].dispsw = &fbcon_mfb;
 #else
-   disp[con].dispsw = NULL;
+   disp[con].dispsw = &fbcon_dummy;
 #endif
 }
   
@@ -321,6 +321,7 @@
 	fb_info.blank=&dnfbcon_blank;	
 	fb_info.node = -1;
 	fb_info.fbops = &dnfb_ops;
+	fb_info.flags = FBINFO_FLAG_DEFAULT;
 	
         outb(RESET_CREG, AP_CONTROL_3A);
         outw(0x0, AP_WRITE_ENABLE);

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov