mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Richard Knutsson <ricknu-0@student.ltu.se>
To: Andrew Morton <akpm@osdl.org>
Cc: linux-kernel@vger.kernel.org, Richard Knutsson <ricknu-0@student.ltu.se>
Subject: [PATCH -mm2] net: Fix compiler-error on atyfb_base.c when !CONFIG_PCI
Date: Tue, 22 Nov 2005 03:21:42 +0100 (MET)	[thread overview]
Message-ID: <20051122022652.6806.10075.sendpatchset@thinktank.campus.ltu.se> (raw)

From: Richard Knutsson <ricknu-0@student.ltu.se>

Fix compiler-error on atyfb_base.c when CONFIG_PCI not set.

Signed-off-by: Richard Knutsson <ricknu-0@student.ltu.se>

---

 atyfb_base.c |    3 ++-
 1 files changed, 2 insertions(+), 1 deletion(-)

diff -Narup a/drivers/net/dgrs.c b/drivers/net/dgrs.c
--- a/drivers/video/aty/atyfb_base.c	2005-11-22 01:41:54.000000000 +0100
+++ b/drivers/video/aty/atyfb_base.c	2005-11-22 01:42:15.000000000 +0100
@@ -3606,7 +3606,8 @@ static struct pci_driver atyfb_driver = 
 	.resume		= atyfb_pci_resume,
 #endif /* CONFIG_PM */
 };
-
+#else
+static struct pci_driver atyfb_driver = {};
 #endif /* CONFIG_PCI */
 
 #ifndef MODULE

             reply	other threads:[~2005-11-22  2:21 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-11-22  2:21 Richard Knutsson [this message]
2005-11-22  2:50 ` Al Viro
2005-11-22  3:29 ` Richard Knutsson

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=20051122022652.6806.10075.sendpatchset@thinktank.campus.ltu.se \
    --to=ricknu-0@student.ltu.se \
    --cc=akpm@osdl.org \
    --cc=linux-kernel@vger.kernel.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

Powered by JetHome