diff options
author | Julien Cristau <jcristau@debian.org> | 2010-01-23 14:46:46 +0100 |
---|---|---|
committer | Julien Cristau <jcristau@debian.org> | 2010-01-23 14:51:10 +0100 |
commit | 48f48e585bf542be48d7d34dc66d430d6843268f (patch) | |
tree | fe200f0ebedca5284b4c80750fe681569cbf2e90 | |
parent | 12f5f9a07259b986fdf9f76004da9512f7890382 (diff) |
newport: stop using obsolete loader functions
The loader symbol list functions have been removed from the server in
1.7.
Reported-and-tested-by: Bernhard R. Link <brlink@debian.org>
Signed-off-by: Julien Cristau <jcristau@debian.org>
-rw-r--r-- | src/newport_driver.c | 45 |
1 files changed, 0 insertions, 45 deletions
diff --git a/src/newport_driver.c b/src/newport_driver.c index 64b643a..6bd7c9f 100644 --- a/src/newport_driver.c +++ b/src/newport_driver.c @@ -102,36 +102,6 @@ static SymTabRec NewportChipsets[] = { {-1, NULL } }; -/* List of Symbols from other modules that this module references */ - -static const char *fbSymbols[] = { - "fbPictureInit", - "fbScreenInit", - NULL -}; - -static const char *ramdacSymbols[] = { - "xf86CreateCursorInfoRec", - "xf86InitCursor", - NULL -}; - -static const char *shadowSymbols[] = { - "ShadowFBInit", - NULL -}; - -static const char *xaaSymbols[] = { - "XAACreateInfoRec", - "XAADestroyInfoRec", - "XAAGetFallbackOps", - "XAAInit", - NULL -}; - - -#ifdef XFree86LOADER - static MODULESETUPPROTO(newportSetup); static XF86ModuleVersionInfo newportVersRec = @@ -172,14 +142,6 @@ newportSetup(pointer module, pointer opts, int *errmaj, int *errmin) xf86AddDriver(&NEWPORT, module, 0); /* - * Tell the loader about symbols from other modules that this module - * might refer to. - * - */ - LoaderRefSymLists( fbSymbols, ramdacSymbols, shadowSymbols, xaaSymbols, NULL); - - - /* * The return value must be non-NULL on success even though * there is no TearDownProc. */ @@ -190,8 +152,6 @@ newportSetup(pointer module, pointer opts, int *errmaj, int *errmin) } } -#endif /* XFree86LOADER */ - typedef enum { OPTION_BITPLANES, OPTION_BUS_ID, @@ -486,7 +446,6 @@ NewportPreInit(ScrnInfoPtr pScrn, int flags) NewportFreeRec(pScrn); return FALSE; } - xf86LoaderReqSymLists( fbSymbols, NULL); /* Load ramdac modules */ if (pNewport->hwCursor) { @@ -494,7 +453,6 @@ NewportPreInit(ScrnInfoPtr pScrn, int flags) NewportFreeRec(pScrn); return FALSE; } - xf86LoaderReqSymLists(ramdacSymbols, NULL); } /* Load ShadowFB module */ @@ -502,7 +460,6 @@ NewportPreInit(ScrnInfoPtr pScrn, int flags) NewportFreeRec(pScrn); return FALSE; } - xf86LoaderReqSymLists(shadowSymbols, NULL); return TRUE; } @@ -596,8 +553,6 @@ NewportScreenInit(int index, ScreenPtr pScreen, int argc, char **argv) if (!pNewport->NoAccel) { if (!xf86LoadSubModule(pScrn, "xaa")) pNewport->NoAccel = TRUE; - else - xf86LoaderReqSymLists(xaaSymbols, NULL); } #if 0 if (pScrn->bitsPerPixel < 24) |