]> git.karo-electronics.de Git - karo-tx-linux.git/blobdiff - drivers/net/arcnet/com20020-pci.c
net: fec: ptp: avoid register access when ipg clock is disabled
[karo-tx-linux.git] / drivers / net / arcnet / com20020-pci.c
index cbc44f53755a81b24960489d6fd0de14e2ba54f3..7bb292e59559233096fd515cb12b63e7c401cc95 100644 (file)
@@ -144,7 +144,7 @@ static void com20020pci_remove(struct pci_dev *pdev)
        free_netdev(dev);
 }
 
-static DEFINE_PCI_DEVICE_TABLE(com20020pci_id_table) = {
+static const struct pci_device_id com20020pci_id_table[] = {
        { 0x1571, 0xa001, PCI_ANY_ID, PCI_ANY_ID, 0, 0, 0 },
        { 0x1571, 0xa002, PCI_ANY_ID, PCI_ANY_ID, 0, 0, 0 },
        { 0x1571, 0xa003, PCI_ANY_ID, PCI_ANY_ID, 0, 0, 0 },