[PATCH] PCI: clean up dynamic pci id logic
[firefly-linux-kernel-4.4.55.git] / drivers / parport / parport_pc.c
index 80edfa3abd29400be9d0e6a36a9224de713d2680..4598c6a9212df977024db0fd43311a0f7dcf1530 100644 (file)
@@ -3008,7 +3008,7 @@ static int __init parport_pc_init_superio (int autoirq, int autodma)
        int ret = 0;
 
        while ((pdev = pci_find_device(PCI_ANY_ID, PCI_ANY_ID, pdev)) != NULL) {
-               id = pci_match_device (parport_pc_pci_tbl, pdev);
+               id = pci_match_id(parport_pc_pci_tbl, pdev);
                if (id == NULL || id->driver_data >= last_sio)
                        continue;