summaryrefslogtreecommitdiff
path: root/src/riva_driver.c
diff options
context:
space:
mode:
authorAdam Jackson <ajax@nwnk.net>2004-07-31 01:21:19 +0000
committerAdam Jackson <ajax@nwnk.net>2004-07-31 01:21:19 +0000
commit8b6de7d388b7ae5169b2e38ad1a40981bc406cfc (patch)
treee7aaaf310eb109a70386640c951bba360aa47d95 /src/riva_driver.c
parentf745157f15befebe01552b103c573ccb94b8f388 (diff)
downloadxorg-driver-xf86-video-nouveau-8b6de7d388b7ae5169b2e38ad1a40981bc406cfc.tar.gz
Change several LoaderSymbol calls introduced by the bug #400 patch to
*Weak() resolver functions.
Diffstat (limited to 'src/riva_driver.c')
-rw-r--r--src/riva_driver.c11
1 files changed, 5 insertions, 6 deletions
diff --git a/src/riva_driver.c b/src/riva_driver.c
index c812bb7..efe1eb4 100644
--- a/src/riva_driver.c
+++ b/src/riva_driver.c
@@ -688,11 +688,11 @@ RivaPreInit(ScrnInfoPtr pScrn, int flags)
xf86FreeInt10(pRiva->pInt);
return FALSE;
}
- pScrn->SwitchMode = LoaderSymbol("fbdevHWSwitchMode");
- pScrn->AdjustFrame = LoaderSymbol("fbdevHWAdjustFrame");
+ pScrn->SwitchMode = fbdevHWSwitchModeWeak();
+ pScrn->AdjustFrame = fbdevHWAdjustFrameWeak();
pScrn->EnterVT = RivaEnterVTFBDev;
- pScrn->LeaveVT = LoaderSymbol("fbdevHWLeaveVT");
- pScrn->ValidMode = LoaderSymbol("fbdevHWValidMode");
+ pScrn->LeaveVT = fbdevHWLeaveVTWeak();
+ pScrn->ValidMode = fbdevHWValidModeWeak();
}
pRiva->Rotate = 0;
if ((s = xf86GetOptValString(pRiva->Options, OPTION_ROTATE))) {
@@ -1317,8 +1317,7 @@ RivaScreenInit(int scrnIndex, ScreenPtr pScreen, int argc, char **argv)
/* Initialize colormap layer.
Must follow initialization of the default colormap */
if(!xf86HandleColormaps(pScreen, 256, 8,
- (pRiva->FBDev ? LoaderSymbol("fbdevHWLoadPalette")
- : Rivadac->LoadPalette),
+ (pRiva->FBDev ? fbdevHWLoadPaletteWeak() : Rivadac->LoadPalette),
NULL, CMAP_RELOAD_ON_MODE_SWITCH | CMAP_PALETTED_TRUECOLOR))
return FALSE;