summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAdam Jackson <ajax@redhat.com>2011-11-17 15:51:42 -0500
committerAdam Jackson <ajax@redhat.com>2011-11-17 15:51:42 -0500
commit706f4931bfa8ade57b3fca119fd788fc9163dd43 (patch)
treeab96a085da57b9a655097e1e3ef8b9c21cee08eb
parent4a7eda24050b42072c77d527257609e743e8dc78 (diff)
Check ABI major not encoded ABI
Signed-off-by: Adam Jackson <ajax@redhat.com>
-rw-r--r--src/ast_driver.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/ast_driver.c b/src/ast_driver.c
index 128538f..1f85816 100644
--- a/src/ast_driver.c
+++ b/src/ast_driver.c
@@ -498,7 +498,7 @@ ASTPreInit(ScrnInfoPtr pScrn, int flags)
(pScrn->chipset != NULL) ? pScrn->chipset : "Unknown ast");
/* Resource Allocation */
-#if ABI_VIDEODRV_VERSION < 12
+#if GET_ABI_MAJOR(ABI_VIDEODRV_VERSION) < 12
pAST->IODBase = pScrn->domainIOBase;
#else
pAST->IODBase = 0;
@@ -507,7 +507,7 @@ ASTPreInit(ScrnInfoPtr pScrn, int flags)
* the vgaHW module to use our relocated i/o ports.
*/
-#if ABI_VIDEODRV_VERSION < 12
+#if GET_ABI_MAJOR(ABI_VIDEODRV_VERSION) < 12
VGAHWPTR(pScrn)->PIOOffset = /* ... */
#endif
pAST->PIOOffset =