patch-2.1.112 linux/drivers/video/fonts.c

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

diff -u --recursive --new-file v2.1.111/linux/drivers/video/fonts.c linux/drivers/video/fonts.c
@@ -30,7 +30,7 @@
     &font_vga_8x16,
 #endif
 #ifdef CONFIG_FONT_6x11
-#if !defined(CONFIG_MAC) && !defined(CONFIG_FB_SBUS)
+#if defined(CONFIG_MAC) || defined(CONFIG_FB_SBUS)
 #undef NO_FONTS
 #endif
     &font_vga_6x11,
@@ -40,7 +40,7 @@
     &font_sun_8x16,
 #endif
 #ifdef CONFIG_FONT_SUN12x22
-#if !defined(CONFIG_FB_SBUS) && !defined(CONFIG_FBCON_CFB8)
+#if defined(CONFIG_FB_SBUS) || defined(CONFIG_FBCON_CFB8) || defined(CONFIG_FBCON_CFB16) || defined(CONFIG_FBCON_CFB24) || defined(CONFIG_FBCON_CFB32)
 #undef NO_FONTS
 #endif
     &font_sun_12x22,

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