diff options
author | Heiner Kallweit <[email protected]> | 2019-04-24 21:11:58 +0200 |
---|---|---|
committer | Bjorn Helgaas <[email protected]> | 2019-04-29 16:12:05 -0500 |
commit | 4e544bac8267f65a0bf06aed1bde9964da4812ed (patch) | |
tree | 797279047b61cd10ab8d3cbd59c2a1025a55166e /tools/perf/scripts/python/exported-sql-viewer.py | |
parent | e0547c81bfcfad01cbbfa93a5e66bb98ab932f80 (diff) |
PCI: Add pci_dev_id() helper
In several places in the kernel we find PCI_DEVID used like this:
PCI_DEVID(dev->bus->number, dev->devfn)
Add a "pci_dev_id(struct pci_dev *dev)" helper to simplify callers.
Signed-off-by: Heiner Kallweit <[email protected]>
Signed-off-by: Bjorn Helgaas <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions