summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/atipreinit.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/atipreinit.c b/src/atipreinit.c
index 699e95e..03625b0 100644
--- a/src/atipreinit.c
+++ b/src/atipreinit.c
@@ -689,7 +689,9 @@ ATIPreInit
#ifndef TV_OUT
/* De-activate VBE */
vbeFree(pVBE);
+#if GET_ABI_MAJOR(ABI_VIDEODRV_VERSION) < 12
xf86UnloadSubModule(pVBEModule);
+#endif
#else
pATI->pVBE = pVBE;
pVBE = NULL;