]> err.no Git - linux-2.6/commitdiff
pasemi_mac: Terminate PCI ID list
authorolof@lixom.net <olof@lixom.net>
Sat, 12 May 2007 19:57:36 +0000 (14:57 -0500)
committerJeff Garzik <jeff@garzik.org>
Tue, 15 May 2007 21:44:39 +0000 (17:44 -0400)
This caused some very interesting behaviour depending on what happened to
be built at the same time. Add terminating empty entry to the list of IDs.

Signed-off-by: Olof Johansson <olof@lixom.net>
Signed-off-by: Jeff Garzik <jeff@garzik.org>
drivers/net/pasemi_mac.c

index 39e33aeca11a964048309b1bb8788d6ecb5c00e7..933d5647689424b30910f0d995dbc7b8009f0525 100644 (file)
@@ -1209,6 +1209,7 @@ static void __devexit pasemi_mac_remove(struct pci_dev *pdev)
 static struct pci_device_id pasemi_mac_pci_tbl[] = {
        { PCI_DEVICE(PCI_VENDOR_ID_PASEMI, 0xa005) },
        { PCI_DEVICE(PCI_VENDOR_ID_PASEMI, 0xa006) },
+       { },
 };
 
 MODULE_DEVICE_TABLE(pci, pasemi_mac_pci_tbl);