diff options
author | Ben Skeggs <bskeggs@redhat.com> | 2014-08-10 04:10:21 +1000 |
---|---|---|
committer | Ben Skeggs <bskeggs@redhat.com> | 2014-08-10 04:43:28 +1000 |
commit | 62a077fe5664d5fccf7baf24f2bb6d09de3f61f4 (patch) | |
tree | e2a007fe67e6606570b97790bcb57e50f3d7844c /lib | |
parent | 8b25193ea0a484dd96821a581e6fbd8121d1106d (diff) |
device: add method to retrieve some basic device info
Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
Diffstat (limited to 'lib')
-rw-r--r-- | lib/core/os.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/lib/core/os.h b/lib/core/os.h index 2047b63c..df8b1497 100644 --- a/lib/core/os.h +++ b/lib/core/os.h @@ -707,6 +707,12 @@ pci_find_capability(struct pci_dev *pdev, int cap) return 0; } +static inline bool +pci_is_pcie(struct pci_dev *pdev) +{ + return false; +} + static inline int pci_write_config_byte(struct pci_dev *pdev, int addr, u8 data) { |