diff options
author | Adam Jackson <ajax@redhat.com> | 2011-11-17 15:53:51 -0500 |
---|---|---|
committer | Adam Jackson <ajax@redhat.com> | 2011-11-17 15:53:51 -0500 |
commit | 7d9c1a49b87df15cdb78c529db554ea82c77033f (patch) | |
tree | da7974d958b7d4e39f1cc2add78add7694c59509 /src | |
parent | 037b839c84ad6dcbe9aade420cf0d3bf06f23119 (diff) |
Check ABI major not encoded ABI
Signed-off-by: Adam Jackson <ajax@redhat.com>
Diffstat (limited to 'src')
-rw-r--r-- | src/smi_driver.c | 2 |
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; |