summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAdam Jackson <ajax@redhat.com>2011-11-17 15:54:27 -0500
committerAdam Jackson <ajax@redhat.com>2011-11-17 15:54:27 -0500
commit4ea96c222ad0900ad53f506e485588e2a49a22f4 (patch)
tree54c7fb4354943c77c16c4cdbf6b2fa6389b31505
parent32cd2dfa1214ed3260bf2e40bad06927b18f7f7b (diff)
Check ABI major not encoded ABI
Signed-off-by: Adam Jackson <ajax@redhat.com>
-rw-r--r--src/tdfx_driver.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/tdfx_driver.c b/src/tdfx_driver.c
index 65c6709..8225c6f 100644
--- a/src/tdfx_driver.c
+++ b/src/tdfx_driver.c
@@ -104,7 +104,7 @@ SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
#endif
#define USE_INT10 1
-#define USE_PCIVGAIO (ABI_VIDEODRV_VERSION < 12)
+#define USE_PCIVGAIO (GET_ABI_MAJOR(ABI_VIDEODRV_VERSION) < 12)
/* Required Functions: */