pci_match_device
Name
pci_match_device -- Tell if a PCI device structure has a matching PCI device id structure
Synopsis
const struct pci_device_id * pci_match_device
(const struct pci_device_id * ids, const struct pci_dev * dev);
Arguments
ids
array of PCI device id structures to search in
dev
the PCI device structure to match against
Description
Used by a driver to check whether a PCI device present in the
system is in its list of supported devices.Returns the matching
pci_device_id structure or NULL
if there is no match.