mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Dave Jones <davej@redhat.com>
To: torvalds@osdl.org
Cc: linux-kernel@vger.kernel.org
Subject: fix matroxfb ppc compile.
Date: Thu, 3 Feb 2005 00:28:16 -0500	[thread overview]
Message-ID: <20050203052815.GB10847@redhat.com> (raw)

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" */


             reply	other threads:[~2005-02-03  5:28 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-02-03  5:28 Dave Jones [this message]
2005-02-03  6:45 ` Al Viro

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20050203052815.GB10847@redhat.com \
    --to=davej@redhat.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=torvalds@osdl.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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®