diff --git a/hw/xfree86/drivers/video/geode/src/geode.h b/hw/xfree86/drivers/video/geode/src/geode.h index d9cc773e5d..55f017190e 100644 --- a/hw/xfree86/drivers/video/geode/src/geode.h +++ b/hw/xfree86/drivers/video/geode/src/geode.h @@ -390,7 +390,7 @@ void GXShowCursor(ScrnInfoPtr pScrni); /* gx_randr.c */ Rotation GXGetRotation(ScreenPtr pScreen); Bool GXRandRInit(ScreenPtr pScreen, int rotation); -extern _X_EXPORT Bool GXRandRSetConfig(ScreenPtr pScreen, Rotation rotation, +Bool GXRandRSetConfig(ScreenPtr pScreen, Rotation rotation, int rate, RRScreenSizePtr pSize); /* gx_rotate.c */ diff --git a/hw/xfree86/drivers/video/geode/src/gx_driver.c b/hw/xfree86/drivers/video/geode/src/gx_driver.c index 9a1830350e..67e9f30630 100644 --- a/hw/xfree86/drivers/video/geode/src/gx_driver.c +++ b/hw/xfree86/drivers/video/geode/src/gx_driver.c @@ -1110,11 +1110,7 @@ GXCreateScreenResources(ScreenPtr pScreen) if (!(*pScreen->CreateScreenResources) (pScreen)) return FALSE; - if (xf86LoaderCheckSymbol("GXRandRSetConfig") - && pGeode->rotation != RR_Rotate_0) { - Rotation(*GXRandRSetConfig) (ScreenPtr pScreen, Rotation rr, int rate, - RRScreenSizePtr pSize) = NULL; - + if (pGeode->rotation != RR_Rotate_0) { RRScreenSize p; Rotation requestedRotation = pGeode->rotation; @@ -1127,12 +1123,9 @@ GXCreateScreenResources(ScreenPtr pScreen) p.mmWidth = pScreen->mmWidth; p.mmHeight = pScreen->mmHeight; - GXRandRSetConfig = LoaderSymbol("GXRandRSetConfig"); - if (GXRandRSetConfig) { - pGeode->starting = TRUE; - (*GXRandRSetConfig) (pScreen, requestedRotation, 0, &p); - pGeode->starting = FALSE; - } + pGeode->starting = TRUE; + GXRandRSetConfig(pScreen, requestedRotation, 0, &p); + pGeode->starting = FALSE; } return TRUE;