From: olof@lixom.net Date: Sat, 12 May 2007 19:57:36 +0000 (-0500) Subject: pasemi_mac: Terminate PCI ID list X-Git-Tag: v2.6.22-rc2~88^2~3 X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=fd17825480b2de3076727c677f8e257623705963;p=karo-tx-linux.git 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: Olof Johansson Signed-off-by: Jeff Garzik --- diff --git a/drivers/net/pasemi_mac.c b/drivers/net/pasemi_mac.c index 39e33aeca11a..933d56476894 100644 --- a/drivers/net/pasemi_mac.c +++ b/drivers/net/pasemi_mac.c @@ -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);