]> git.hungrycats.org Git - linux/commitdiff
[PATCH] vesafb 6x11 font fix
authorGeert Uytterhoeven <geert@linux-m68k.org>
Sun, 3 Nov 2002 07:52:01 +0000 (23:52 -0800)
committerLinus Torvalds <torvalds@penguin.transmeta.com>
Sun, 3 Nov 2002 07:52:01 +0000 (23:52 -0800)
Compile fix if fbcon-mac is used with vesafb (from 2.4.20-pre7)

drivers/video/fbcon.c

index e6916fa97b85a06db9136a29eb7cf4cfcdb31c60..0b0db4edcfa089e18241169b4d111a3f8c9c1112 100644 (file)
@@ -627,7 +627,7 @@ static void fbcon_setup(int con, int init, int logo)
     }
     
     if (!fontwidthvalid(p,fontwidth(p))) {
-#ifdef CONFIG_FBCON_MAC
+#if defined(CONFIG_FBCON_MAC) && defined(CONFIG_MAC)
        if (MACH_IS_MAC)
            /* ++Geert: hack to make 6x11 fonts work on mac */
            p->dispsw = &fbcon_mac;