summaryrefslogtreecommitdiff
path: root/src/smi_driver.c
diff options
context:
space:
mode:
authorAdam Jackson <ajax@redhat.com>2011-11-17 15:53:51 -0500
committerAdam Jackson <ajax@redhat.com>2011-11-17 15:53:51 -0500
commit7d9c1a49b87df15cdb78c529db554ea82c77033f (patch)
treeda7974d958b7d4e39f1cc2add78add7694c59509 /src/smi_driver.c
parent037b839c84ad6dcbe9aade420cf0d3bf06f23119 (diff)
Check ABI major not encoded ABI
Signed-off-by: Adam Jackson <ajax@redhat.com>
Diffstat (limited to 'src/smi_driver.c')
-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 86644c7..6508fae 100644
--- a/src/smi_driver.c
+++ b/src/smi_driver.c
@@ -442,7 +442,7 @@ SMI_PreInit(ScrnInfoPtr pScrn, int flags)
LEAVE(FALSE);
hwp = VGAHWPTR(pScrn);
-#if ABI_VIDEODRV_VERSION < 12
+#if GET_ABI_MAJOR(ABI_VIDEODRV_VERSION) < 12
pSmi->PIOBase = hwp->PIOOffset;
#else
pSmi->PIOBase = 0;