summaryrefslogtreecommitdiff
path: root/src/r128_accel.c
diff options
context:
space:
mode:
authorAdam Jackson <ajax@nwnk.net>2005-12-14 19:41:28 +0000
committerAdam Jackson <ajax@nwnk.net>2005-12-14 19:41:28 +0000
commit726fd3a81dfbd1b0c8e4ede104a48523daecab92 (patch)
tree67eeed9780c6d9510f73f9a62de22c9395f070bd /src/r128_accel.c
parent328a2d74dabe32ce35e879799412666feedb0eef (diff)
Bug #1760: Fix ati wrapper multihead to be dlloader friendly.
Diffstat (limited to 'src/r128_accel.c')
-rw-r--r--src/r128_accel.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/r128_accel.c b/src/r128_accel.c
index 2bc4ae47..fe284e1a 100644
--- a/src/r128_accel.c
+++ b/src/r128_accel.c
@@ -122,7 +122,7 @@ static struct {
{ R128_ROP3_ONE, R128_ROP3_ONE } /* GXset */
};
-extern int gR128EntityIndex;
+extern int getR128EntityIndex(void);
/* Flush all dirty data in the Pixel Cache to memory. */
void R128EngineFlush(ScrnInfoPtr pScrn)
@@ -1842,7 +1842,7 @@ static void R128MMIOAccelInit(ScrnInfoPtr pScrn, XAAInfoRecPtr a)
DevUnion* pPriv;
R128EntPtr pR128Ent;
pPriv = xf86GetEntityPrivate(pScrn->entityList[0],
- gR128EntityIndex);
+ getR128EntityIndex());
pR128Ent = pPriv->ptr;
/*if there are more than one devices sharing this entity, we