summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDave Airlie <airlied@redhat.com>2012-06-07 15:00:51 +0100
committerDave Airlie <airlied@redhat.com>2012-06-07 15:00:51 +0100
commit909da5737b3adb3193ccd829969e7bfee71e258a (patch)
tree75002480cb18c11e80e42e42eae75f5afda4601a
parentbdc99cca80b61038c76fb7b07dbefead82a10e3d (diff)
fix some deprecated include warnings
-rw-r--r--src/tseng.h3
-rw-r--r--src/tseng_driver.c2
2 files changed, 2 insertions, 3 deletions
diff --git a/src/tseng.h b/src/tseng.h
index b4e870c..c6a51b7 100644
--- a/src/tseng.h
+++ b/src/tseng.h
@@ -15,9 +15,6 @@
/* Everything using inb/outb, etc needs "compiler.h" */
#include "compiler.h"
-/* Drivers for PCI hardware need this */
-#include "xf86PciInfo.h"
-
/* Drivers that need to access the PCI config space directly need this */
#include "xf86Pci.h"
diff --git a/src/tseng_driver.c b/src/tseng_driver.c
index 90236b3..0c04e54 100644
--- a/src/tseng_driver.c
+++ b/src/tseng_driver.c
@@ -34,6 +34,8 @@
#include "tseng.h" /* this includes most of the generic ones as well */
+#include "xf86PciInfo.h"
+
/* All drivers initialising the SW cursor need this */
#include "mipointer.h"