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
commit7a839c301d862a506b2368c98f2174a58b4d29a1 (patch)
tree053b5e9fd4061b5138842020314ec3d8314581fa
parentb6a8f36c406ec1c4a72f19bd8a6caf14058390aa (diff)
chips: change to using ABI version check
-rw-r--r--src/ct_driver.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ct_driver.c b/src/ct_driver.c
index 828394f..eda2f63 100644
--- a/src/ct_driver.c
+++ b/src/ct_driver.c
@@ -85,7 +85,7 @@
/* Drivers that need to access the PCI config space directly need this */
#include "xf86Pci.h"
-#ifndef XSERVER_LIBPCIACCESS
+#if GET_ABI_MAJOR(ABI_VIDEODRV_VERSION) < 6
/* Standard resources are defined here */
#include "xf86Resources.h"