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 39e33ae..933d564 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);