Commit fd178254 authored by olof@lixom.net's avatar olof@lixom.net Committed by Jeff Garzik

pasemi_mac: Terminate PCI ID list

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: default avatarOlof Johansson <olof@lixom.net>
Signed-off-by: default avatarJeff Garzik <jeff@garzik.org>
parent 52a94351
...@@ -1209,6 +1209,7 @@ static void __devexit pasemi_mac_remove(struct pci_dev *pdev) ...@@ -1209,6 +1209,7 @@ static void __devexit pasemi_mac_remove(struct pci_dev *pdev)
static struct pci_device_id pasemi_mac_pci_tbl[] = { static struct pci_device_id pasemi_mac_pci_tbl[] = {
{ PCI_DEVICE(PCI_VENDOR_ID_PASEMI, 0xa005) }, { PCI_DEVICE(PCI_VENDOR_ID_PASEMI, 0xa005) },
{ PCI_DEVICE(PCI_VENDOR_ID_PASEMI, 0xa006) }, { PCI_DEVICE(PCI_VENDOR_ID_PASEMI, 0xa006) },
{ },
}; };
MODULE_DEVICE_TABLE(pci, pasemi_mac_pci_tbl); MODULE_DEVICE_TABLE(pci, pasemi_mac_pci_tbl);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment