lkml.org 
[lkml]   [2001]   [Oct]   [31]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Date
From
Subjectfealnx build problems with latest linux kernels
I encountered a problem when trying to build the fealnx driver
with the latest linux kernels 2.4.10-2.4.13, vanilla as well as
2.4.13-ac2 and 2.4.13-ac5. The problem is present only when
the kernel is configured without support for hot-pluggable
devices.

The problem seems to be a swapped __devinitdata and =.
The following patch fixes the problem.

\Gandalf

--- fealnx.c Wed Oct 31 11:03:01 2001
+++ fealnx.c-orig Wed Oct 31 11:01:07 2001
@@ -1815,7 +1815,7 @@
return 0;
}

-static struct pci_device_id fealnx_pci_tbl[] __devinitdata = {
+static struct pci_device_id fealnx_pci_tbl[] = __devinitdata {
{0x1516, 0x0800, PCI_ANY_ID, PCI_ANY_ID, 0, 0, 0},
{0x1516, 0x0803, PCI_ANY_ID, PCI_ANY_ID, 0, 0, 1},
{0x1516, 0x0891, PCI_ANY_ID, PCI_ANY_ID, 0, 0, 2},
-
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 13:12    [W:0.054 / U:0.960 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site