: mtd - fix a pci_find_device
PATCH 1/1 : mtd - fix a pci_find_device
Going over the bugs and warnings I found this one left over. The other changes have already been correctly done for this driver but the actual switch to pci_get_device that they assume has not.
Signed-off-by Alan Cox <[email protected]>
drivers/mtd/maps/ck804xrom.c +1 -1
@@ -327,7 +327,7 @@ pdev =NULL ;for (id = ck804xrom_pci_tbl; id->vendor; id++) { - pdev =pci_find_device (id->vendor, id->device,NULL ); + pdev =pci_get_device (id->vendor, id->device,NULL );if (pdev)break ; }
David Woodhouse
AppliedQuoted 5 lines · Alan
Going over the bugs and warnings I found this one left over. The other changes have already been correctly done for this driver but the actual switch to
pci_get_devicethat they assume has not.Signed-off-by Alan Cox <[email protected]>
Applied; thanks.
Signature · 1 line
dwmw2