Skip to contentSkip to conversation

fix matroxfb ppc compile.

PATCH Dave Jones 2 participants 2 messages Feb 3, 2005 Framebuffer layer

lore
Share & tools
lore

Dave Jones

author
#0 lore raw

Code references these vars even though they don't exist. Untested other than compile test.

drivers/video/matrox/matroxfb_base.c renamed from drivers/video/matrox/matroxfb_base.c~ +4 -0
@@ -1276,6 +1276,10 @@ static int dfp;				/* "matrox:dfp */
 static int dfp_type = -1;		/* "matrox:dfp:xxx */
 static int memtype = -1;		/* "matrox:memtype:xxx" */
 static char outputs[8];			/* "matrox:outputs:xxx" */
+#ifdef CONFIG_PPC_PMAC
+static int vmode;
+static int cmode;
+#endif
 
 #ifndef MODULE
 static char videomode[64];		/* "matrox:mode:xxxxx" or "matrox:xxxxx" */
#1 lore raw
Quoted 2 lines · Dave Jones

Code references these vars even though they don't exist. Untested other than compile test.

Nope - what it tries to do is to set default_vmode and default_cmode. See 2.6.11-rc3, it got a fix for that one.