diff options
author | Ian Romanick <idr@umwelt.(none)> | 2006-08-04 14:56:06 -0700 |
---|---|---|
committer | Ian Romanick <idr@umwelt.(none)> | 2006-08-04 14:56:06 -0700 |
commit | 3e2980251570a304057579e97ec26bc3fd19f8d7 (patch) | |
tree | 1d018a22278d65ca53a48c8b9be061924724f858 | |
parent | 876f90e0fe06cedde15eb30e881824f126352bd9 (diff) |
Pass the HaveDriverFuncs flag to xf86AddDriver. Make sure the
DriverFuncs pointer is NULL. Delete a duplicate #define.
-rw-r--r-- | src/savage_driver.c | 6 |
1 files 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) { |