[PATCH xf86-video-chips] PciTag is unused when using libpciaccess
Mark Kettenis
mark.kettenis at xs4all.nl
Mon Sep 26 12:41:30 PDT 2011
This should be the right thing to do regardless whether the pci bus
cleanup gets committed.
Signed-off-by: Mark Kettenis <kettenis at openbsd.org>
---
src/ct_driver.h | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
diff --git a/src/ct_driver.h b/src/ct_driver.h
index 10a24d4..39eeb6e 100644
--- a/src/ct_driver.h
+++ b/src/ct_driver.h
@@ -271,7 +271,9 @@ typedef struct {
typedef struct _CHIPSRec {
pciVideoPtr PciInfo;
+#ifndef XSERVER_LIBPCIACCESS
PCITAG PciTag;
+#endif
int Chipset;
EntityInfoPtr pEnt;
IOADDRESS PIOBase;
--
1.7.6
More information about the xorg-devel
mailing list