summaryrefslogtreecommitdiff
path: root/src/savage_driver.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/savage_driver.c')
-rw-r--r--src/savage_driver.c18
1 files changed, 9 insertions, 9 deletions
diff --git a/src/savage_driver.c b/src/savage_driver.c
index 2c3636f..0d4c1f2 100644
--- a/src/savage_driver.c
+++ b/src/savage_driver.c
@@ -430,15 +430,6 @@ static XF86ModuleVersionInfo SavageVersRec = {
XF86ModuleData savageModuleData = { &SavageVersRec, SavageSetup, NULL };
-static SavageEntPtr SavageEntPriv(ScrnInfoPtr pScrn)
-{
- DevUnion *pPriv;
- SavagePtr psav = SAVPTR(pScrn);
- pPriv = xf86GetEntityPrivate(psav->pEnt->index,
- gSavageEntityIndex);
- return pPriv->ptr;
-}
-
static pointer SavageSetup(pointer module, pointer opts, int *errmaj,
int *errmin)
{
@@ -463,6 +454,15 @@ static pointer SavageSetup(pointer module, pointer opts, int *errmaj,
#endif /* XFree86LOADER */
+static SavageEntPtr SavageEntPriv(ScrnInfoPtr pScrn)
+{
+ DevUnion *pPriv;
+ SavagePtr psav = SAVPTR(pScrn);
+ pPriv = xf86GetEntityPrivate(psav->pEnt->index,
+ gSavageEntityIndex);
+ return pPriv->ptr;
+}
+
/*
* I'd rather have these wait macros be inline, but S3 has made it