fix matroxfb ppc compile.
Code references these vars even though they don't exist. Untested other than compile test.
Signed-off-by Dave Jones <[email protected]>
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" */
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.