mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Stian Jordet <liste@jordet.nu>
To: linux-kernel@vger.kernel.org
Cc: kkeil@suse.de
Subject: Fix warning in hisax/config.c
Date: Thu, 10 Jun 2004 01:32:18 +0200	[thread overview]
Message-ID: <1086823938.3242.5.camel@chevrolet.jordet> (raw)

Hi,

is this patch correct? It silences the warning, and everything seems to
work fine for me.

Best regards,
Stian

--- linux-2.6.6/drivers/isdn/hisax/config.c.old	2004-06-06
01:43:01.000000000 +0200
+++ linux-2.6.6/drivers/isdn/hisax/config.c	2004-06-06
01:43:24.000000000 +0200
@@ -1886,6 +1886,8 @@
 
 #include <linux/pci.h>
 
+#ifdef MODULE
+
 static struct pci_device_id hisax_pci_tbl[] __initdata = {
 #ifdef CONFIG_HISAX_FRITZPCI
 	{PCI_VENDOR_ID_AVM,      PCI_DEVICE_ID_AVM_A1,           PCI_ANY_ID,
PCI_ANY_ID},
@@ -1953,6 +1955,8 @@
 
 MODULE_DEVICE_TABLE(pci, hisax_pci_tbl);
 
+#endif
+
 module_init(HiSax_init);
 module_exit(HiSax_exit);
 



             reply	other threads:[~2004-06-09 23:32 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-06-09 23:32 Stian Jordet [this message]
2004-06-09 23:37 ` Stian Jordet

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=1086823938.3242.5.camel@chevrolet.jordet \
    --to=liste@jordet.nu \
    --cc=kkeil@suse.de \
    --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

all inboxes | Powered by JetHome®