/* NOTE: Do not use this function any more; use pci_get_device() instead, as the PCI device returned by this function can disappear at any moment in time.  */
struct pci_dev* pci_find_device(unsigned int vendor, unsigned int device, struct pci_dev *from)
/* NOTE: Do not use this function any more; use pci_get_device() instead, as the PCI device returned by this function can disappear at any moment in time.  */
struct pci_dev* pci_find_device(unsigned int vendor, unsigned int device, struct pci_dev *from)
{
	struct pci_dev *pdev;
	pci_dev_get(from);
	pdev = pci_get_subsys(vendor, device, PCI_ANY_ID, PCI_ANY_ID, from);
	pci_dev_put(pdev);
	return pdev;
}