diff options
author | Adam Jackson <ajax@redhat.com> | 2009-05-28 15:22:15 -0400 |
---|---|---|
committer | Adam Jackson <ajax@redhat.com> | 2009-05-28 15:22:15 -0400 |
commit | a1de18228b0e6743f9615d820229a7b144f3f5ac (patch) | |
tree | fb065d2c3987ad595ad8913ba4c69e221820675a | |
parent | 72e3e402ef00ff1ef910e6e0319b87182ae668b0 (diff) |
Remove useless loader symbol lists.
-rw-r--r-- | src/tga_driver.c | 39 |
1 files changed, 0 insertions, 39 deletions
diff --git a/src/tga_driver.c b/src/tga_driver.c index 2158790..c315d2e 100644 --- a/src/tga_driver.c +++ b/src/tga_driver.c @@ -177,33 +177,6 @@ static RamDacSupportedInfoRec BTramdacs[] = { { -1 } }; -static const char *ramdacSymbols[] = { - "BTramdacProbe", - "RamDacCreateInfoRec", - "RamDacDestroyInfoRec", - "RamDacFreeRec", - "RamDacGetHWIndex", - "RamDacHandleColormaps", - "RamDacInit", - "xf86CreateCursorInfoRec", - "xf86InitCursor", - NULL -}; - -static const char *xaaSymbols[] = { - "XAACreateInfoRec", - "XAADestroyInfoRec", - "XAAGetGCIndex", - "XAAInit", - NULL -}; - -static const char *fbSymbols[] = { - "fbPictureInit", - "fbScreenInit", - NULL -}; - #ifdef XFree86LOADER static MODULESETUPPROTO(tgaSetup); @@ -234,13 +207,6 @@ tgaSetup(pointer module, pointer opts, int *errmaj, int *errmin) xf86AddDriver(&TGA, module, 0); /* - * Modules that this driver always requires can be loaded here - * by calling LoadSubModule(). - */ - - LoaderRefSymLists(ramdacSymbols, fbSymbols, xaaSymbols, NULL); - - /* * The return value must be non-NULL on success even though there * is no TearDownProc. */ @@ -480,8 +446,6 @@ TGAPreInit(ScrnInfoPtr pScrn, int flags) if (!xf86LoadSubModule(pScrn, "ramdac")) return FALSE; - xf86LoaderReqSymLists(ramdacSymbols, NULL); - /* Allocate the TGARec driverPrivate */ if (!TGAGetRec(pScrn)) { return FALSE; @@ -837,15 +801,12 @@ TGAPreInit(ScrnInfoPtr pScrn, int flags) return FALSE; } - xf86LoaderReqSymLists(fbSymbols, NULL); - /* Load XAA if needed */ if (!pTga->NoAccel || pTga->HWCursor) { if (!xf86LoadSubModule(pScrn, "xaa")) { TGAFreeRec(pScrn); return FALSE; } - xf86LoaderReqSymLists(xaaSymbols, NULL); } |