From 3e2980251570a304057579e97ec26bc3fd19f8d7 Mon Sep 17 00:00:00 2001 From: Ian Romanick Date: Fri, 4 Aug 2006 14:56:06 -0700 Subject: Pass the HaveDriverFuncs flag to xf86AddDriver. Make sure the DriverFuncs pointer is NULL. Delete a duplicate #define. --- src/savage_driver.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/savage_driver.c b/src/savage_driver.c index 9b8e4a0..217e625 100644 --- a/src/savage_driver.c +++ b/src/savage_driver.c @@ -115,7 +115,8 @@ _X_EXPORT DriverRec SAVAGE = SavageProbe, SavageAvailableOptions, NULL, - 0 + 0, + NULL }; @@ -458,7 +459,7 @@ static pointer SavageSetup(pointer module, pointer opts, int *errmaj, if (!setupDone) { setupDone = TRUE; - xf86AddDriver(&SAVAGE, module, 0); + xf86AddDriver(&SAVAGE, module, 1); LoaderRefSymLists(vgaHWSymbols, fbSymbols, ramdacSymbols, xaaSymbols, exaSymbols, @@ -2853,7 +2854,6 @@ static Bool SavageMapMMIO(ScrnInfoPtr pScrn) return TRUE; } -#define TRANSPARENCY_KEY 0xff; static Bool SavageMapFB(ScrnInfoPtr pScrn) { -- cgit v1.2.3