summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDave Airlie <airlied@redhat.com>2009-07-28 15:22:40 +1000
committerDave Airlie <airlied@redhat.com>2009-07-28 15:22:40 +1000
commitcab8435d8aef852c4cb1ab71285fa020dcbd7a68 (patch)
tree246ec8234f612ad51181716c264e56a9c05c82b4
parenta22b16c0dc757c940461f26bc6e1802b53e860c5 (diff)
geode: change to using ABI version check
-rw-r--r--src/geode_driver.c2
-rw-r--r--src/gx_driver.c2
-rw-r--r--src/lx_driver.c2
3 files changed, 3 insertions, 3 deletions
diff --git a/src/geode_driver.c b/src/geode_driver.c
index bc9c3dd..13635da 100644
--- a/src/geode_driver.c
+++ b/src/geode_driver.c
@@ -42,7 +42,7 @@
/* Includes that are used by all drivers */
#include "xf86.h"
#include "xf86_OSproc.h"
-#ifndef XSERVER_LIBPCIACCESS
+#if GET_ABI_MAJOR(ABI_VIDEODRV_VERSION) < 6
#include "xf86Resources.h"
#endif
#include "compiler.h"
diff --git a/src/gx_driver.c b/src/gx_driver.c
index edc5045..f526326 100644
--- a/src/gx_driver.c
+++ b/src/gx_driver.c
@@ -35,7 +35,7 @@
#include "xf86.h"
#include "xf86_OSproc.h"
-#ifndef XSERVER_LIBPCIACCESS
+#if GET_ABI_MAJOR(ABI_VIDEODRV_VERSION) < 6
#include "xf86Resources.h"
#endif
#include "xf86cmap.h"
diff --git a/src/lx_driver.c b/src/lx_driver.c
index a78778a..08d1fdd 100644
--- a/src/lx_driver.c
+++ b/src/lx_driver.c
@@ -36,7 +36,7 @@
#include "xf86.h"
#include "xf86_OSproc.h"
-#ifndef XSERVER_LIBPCIACCESS
+#if GET_ABI_MAJOR(ABI_VIDEODRV_VERSION) < 6
#include "xf86Resources.h"
#endif
#include "xf86i2c.h"