patch-2.1.111 linux/drivers/video/fbcon-cfb16.h

Next file: linux/drivers/video/fbcon-cfb2.c
Previous file: linux/drivers/video/fbcon-cfb16.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.1.110/linux/drivers/video/fbcon-cfb16.h linux/drivers/video/fbcon-cfb16.h
@@ -2,6 +2,18 @@
      *  16 bpp packed pixel (cfb16)
      */
 
+#include <linux/config.h>
+
+#ifdef MODULE
+#if defined(CONFIG_FBCON_CFB16) || defined(CONFIG_FBCON_CFB16_MODULE)
+#define FBCON_HAS_CFB16
+#endif
+#else
+#if defined(CONFIG_FBCON_CFB16)
+#define FBCON_HAS_CFB16
+#endif
+#endif
+
 extern struct display_switch fbcon_cfb16;
 extern u16 fbcon_cfb16_cmap[16];
 extern void fbcon_cfb16_setup(struct display *p);

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