diff options
-rw-r--r-- | src/cir_driver.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/cir_driver.c b/src/cir_driver.c index c8d5aae..2df4a2e 100644 --- a/src/cir_driver.c +++ b/src/cir_driver.c @@ -258,7 +258,11 @@ CIRProbe(DriverPtr drv, int flags) pPci->device_id, pPci->bus, pPci->domain, pPci->dev, pPci->func); xf86DrvMsg(0, X_ERROR, "cirrus: This driver cannot operate until it has been unloaded.\n"); +#if GET_ABI_MAJOR(ABI_VIDEODRV_VERSION) < 13 + xf86UnclaimPciSlot(pPci); +#else xf86UnclaimPciSlot(pPci, devSections[0]); +#endif free(devSections); return FALSE; } |