lkml.org 
[lkml]   [2004]   [Jun]   [9]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
SubjectFix warning in hisax/config.c
From
Date
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);


-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 14:03    [W:0.025 / U:3.444 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site