public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* fealnx build problems with latest linux kernels
@ 2001-10-31 10:48 Lars Knudsen
  0 siblings, 0 replies; only message in thread
From: Lars Knudsen @ 2001-10-31 10:48 UTC (permalink / raw)
  To: becker, linux-kernel, Alan Cox

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},

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2001-10-31 10:48 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2001-10-31 10:48 fealnx build problems with latest linux kernels Lars Knudsen

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox