summaryrefslogtreecommitdiff
path: root/src/riva_type.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/riva_type.h')
-rw-r--r--src/riva_type.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/riva_type.h b/src/riva_type.h
index 606e3e5..e9448e6 100644
--- a/src/riva_type.h
+++ b/src/riva_type.h
@@ -51,8 +51,12 @@ typedef struct {
RIVA_HW_STATE SavedReg;
RIVA_HW_STATE ModeReg;
EntityInfoPtr pEnt;
+#if XSERVER_LIBPCIACCESS
+ struct pci_device *PciInfo;
+#else
pciVideoPtr PciInfo;
PCITAG PciTag;
+#endif
xf86AccessRec Access;
int ChipRev;
Bool Primary;