]> mj.ucw.cz Git - pciutils.git/commitdiff
libpci: Add auxiliary data member to struct pci_access for use by the back-end
authorPali Rohár <pali@kernel.org>
Sat, 5 Nov 2022 10:54:40 +0000 (11:54 +0100)
committerPali Rohár <pali@kernel.org>
Sat, 5 Nov 2022 11:56:43 +0000 (12:56 +0100)
lib/pci.h

index 41a162b9a3970bf29178ae2373dbdf4bde94ac2d..14c13018e283db404d232a11e3c0041fd9d6ad74 100644 (file)
--- 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 */