patch-2.1.111 linux/drivers/video/offb.c

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

diff -u --recursive --new-file v2.1.110/linux/drivers/video/offb.c linux/drivers/video/offb.c
@@ -34,6 +34,7 @@
 
 #include "fbcon.h"
 #include "fbcon-cfb8.h"
+#include "macmodes.h"
 
 
 static int currcon = 0;
@@ -406,7 +407,7 @@
 	disp->line_length = fix->line_length;
 	disp->can_soft_blank = info->cmap_adr ? 1 : 0;
 	disp->inverse = 0;
-#ifdef CONFIG_FBCON_CFB8
+#ifdef FBCON_HAS_CFB8
 	disp->dispsw = &fbcon_cfb8;
 #else
 	disp->dispsw = NULL;

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