Messages in this thread Patch in this message |  | | Date | Wed, 31 Oct 2001 11:48:54 +0100 | From | Lars Knudsen <> | Subject | 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 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/
|  |