mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* fix matroxfb ppc compile.
@ 2005-02-03  5:28 Dave Jones
  2005-02-03  6:45 ` Al Viro
  0 siblings, 1 reply; 2+ messages in thread
From: Dave Jones @ 2005-02-03  5:28 UTC (permalink / raw)
  To: torvalds; +Cc: linux-kernel

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

Signed-off-by: Dave Jones <davej@redhat.com>

--- linux-2.6.10/drivers/video/matrox/matroxfb_base.c~	2005-01-27 20:06:10.000000000 -0500
+++ linux-2.6.10/drivers/video/matrox/matroxfb_base.c	2005-01-27 20:08:49.000000000 -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:xxxxx" or "matrox:xxxxx" */


^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: fix matroxfb ppc compile.
  2005-02-03  5:28 fix matroxfb ppc compile Dave Jones
@ 2005-02-03  6:45 ` Al Viro
  0 siblings, 0 replies; 2+ messages in thread
From: Al Viro @ 2005-02-03  6:45 UTC (permalink / raw)
  To: Dave Jones, torvalds, linux-kernel

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.

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2005-02-03  6:45 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-02-03  5:28 fix matroxfb ppc compile Dave Jones
2005-02-03  6:45 ` Al Viro

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®