summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPali Rohár <pali@kernel.org>2022-11-05 11:54:40 +0100
committerPali Rohár <pali@kernel.org>2022-11-05 12:56:43 +0100
commit5110f557483df98791c249ec3de9abb057456f0d (patch)
treeca409595b47e2603a03da14e7a6da301c2f04a35
parent8d750a8deb1280e6fd3fdcc7b63b2593be5988c5 (diff)
downloadpciutils-5110f557483df98791c249ec3de9abb057456f0d.tar.gz
libpci: Add auxiliary data member to struct pci_access for use by the back-end
-rw-r--r--lib/pci.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/pci.h b/lib/pci.h
index 41a162b..14c1301 100644
--- a/lib/pci.h
+++ b/lib/pci.h
@@ -84,6 +84,7 @@ struct pci_access {
int fd_pos; /* proc/sys: current position */
int fd_vpd; /* sys: fd for VPD */
struct pci_dev *cached_dev; /* proc/sys: device the fds are for */
+ void *aux; /* Auxiliary data for use by the back-end */
};
/* Initialize PCI access */