Re: fix matroxfb ppc compile.
On Thu, Feb 03, 2005 at 12:28:16AM -0500, Dave Jones wrote: > 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. - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
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]> --- linux-2.6.10/drivers/video/matrox/matroxfb_base.c~ 2005-01-27 20:06:10.0 -0500 +++ linux-2.6.10/drivers/video/matrox/matroxfb_base.c 2005-01-27 20:08:49.0 -0500 @@ -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:x" or "matrox:x" */ - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
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] --- linux-2.6.10/drivers/video/matrox/matroxfb_base.c~ 2005-01-27 20:06:10.0 -0500 +++ linux-2.6.10/drivers/video/matrox/matroxfb_base.c 2005-01-27 20:08:49.0 -0500 @@ -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:x or matrox:x */ - To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
Re: fix matroxfb ppc compile.
On Thu, Feb 03, 2005 at 12:28:16AM -0500, Dave Jones wrote: 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. - To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/