fealnx 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-orig Wed Oct 31 11:01:07 2001 renamed from fealnx.c Wed Oct 31 11:03:01 2001 +1 -1
@@ -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},