summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDave Airlie <airlied@redhat.com>2012-06-06 10:42:26 +0100
committerDave Airlie <airlied@redhat.com>2012-06-06 10:42:26 +0100
commit68572c1e41cf6de2f0ef2c9442111384ce863308 (patch)
tree5085703cf6a7ccd15b4a934ff0c47c02f5b55e68
parenta9f3a66e355b9f19c312d399771fb1d8eb2e046d (diff)
ati: only include deprecated file in one place.
reduces warnings. Signed-off-by: Dave Airlie <airlied@redhat.com>
-rw-r--r--src/ati.h1
-rw-r--r--src/atimach64probe.c2
2 files changed, 2 insertions, 1 deletions
diff --git a/src/ati.h b/src/ati.h
index 828aae1..9a6c244 100644
--- a/src/ati.h
+++ b/src/ati.h
@@ -25,7 +25,6 @@
#include <unistd.h>
#include "xf86Pci.h"
-#include "xf86PciInfo.h"
#include "xf86.h"
diff --git a/src/atimach64probe.c b/src/atimach64probe.c
index 0117920..e94c3f2 100644
--- a/src/atimach64probe.c
+++ b/src/atimach64probe.c
@@ -38,6 +38,8 @@
#include "atiadjust.h"
#include "ativalid.h"
+#include "xf86PciInfo.h"
+
#ifndef XSERVER_LIBPCIACCESS
static Bool Mach64Probe(DriverPtr pDriver, int flags);
#endif