summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDave Airlie <airlied@redhat.com>2009-07-28 15:22:41 +1000
committerDave Airlie <airlied@redhat.com>2009-07-28 15:22:41 +1000
commit115b564f78b038baef2d14c037785850efb4e9ca (patch)
treeb88e1f892299ab43c606a67074ea9a9595e732e2
parent70f2463faa6d21517d97aa460871e1b5f3fa6505 (diff)
siliconmotion: change to using ABI version check
-rw-r--r--src/smi_driver.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/smi_driver.c b/src/smi_driver.c
index 9c07f61..39448c4 100644
--- a/src/smi_driver.c
+++ b/src/smi_driver.c
@@ -36,7 +36,7 @@ authorization from The XFree86 Project or Silicon Motion.
#include "xf86int10.h"
#include "vbe.h"
-#ifndef XSERVER_LIBPCIACCESS
+#if GET_ABI_MAJOR(ABI_VIDEODRV_VERSION) < 6
#include "xf86Resources.h"
#include "xf86RAC.h"
#endif