summaryrefslogtreecommitdiff
path: root/src/geode_driver.c
diff options
context:
space:
mode:
authorAdam Jackson <ajax@redhat.com>2009-05-28 14:56:22 -0400
committerAdam Jackson <ajax@redhat.com>2009-05-28 14:56:30 -0400
commit1bfde92b1e2c1a386b679b67f1901a57623db633 (patch)
tree7ae703213da04af6c3010229976387b63c3dd642 /src/geode_driver.c
parent106c341c4076f7714cd67e0fcf5942a22554c8f3 (diff)
Remove useless loader symbol lists.
Diffstat (limited to 'src/geode_driver.c')
-rw-r--r--src/geode_driver.c72
1 files changed, 0 insertions, 72 deletions
diff --git a/src/geode_driver.c b/src/geode_driver.c
index e374a40..e56e7c4 100644
--- a/src/geode_driver.c
+++ b/src/geode_driver.c
@@ -229,69 +229,6 @@ OptionInfoRec no_GeodeOptions[] = {
{-1, NULL, OPTV_NONE, {0}, FALSE}
};
-/* List of symbols from other modules that this module references.The purpose
-* is that to avoid unresolved symbol warnings
-*/
-const char *amdVgahwSymbols[] = {
- "vgaHWGetHWRec",
- "vgaHWUnlock",
- "vgaHWInit",
- "vgaHWSave",
- "vgaHWRestore",
- "vgaHWProtect",
- "vgaHWGetIOBase",
- "vgaHWMapMem",
- "vgaHWLock",
- "vgaHWFreeHWRec",
- "vgaHWSaveScreen",
- NULL
-};
-
-const char *amdVbeSymbols[] = {
- "VBEInit",
- "vbeDoEDID",
- "vbeFree",
- NULL
-};
-
-const char *amdInt10Symbols[] = {
- "xf86ExecX86int10",
- "xf86InitInt10",
- "xf86Int10AllocPages",
- "xf86Int10Addr",
- NULL
-};
-
-const char *amdFbSymbols[] = {
- "fbScreenInit",
- "fbPictureInit",
- NULL
-};
-
-const char *amdXaaSymbols[] = {
- "XAADestroyInfoRec",
- "XAACreateInfoRec",
- "XAAInit",
- "XAAScreenIndex",
- NULL
-};
-
-const char *amdExaSymbols[] = {
- "exaGetVersion",
- "exaDriverInit",
- "exaDriverFini",
- "exaOffscreenAlloc",
- "exaOffscreenFree",
- NULL
-};
-
-const char *amdRamdacSymbols[] = {
- "xf86InitCursor",
- "xf86CreateCursorInfoRec",
- "xf86DestroyCursorInfoRec",
- NULL
-};
-
#ifdef XFree86LOADER
/* Module loader interface */
@@ -341,9 +278,6 @@ GeodeSetup(pointer Module, pointer Options, int *ErrorMajor, int *ErrorMinor)
init = TRUE;
xf86AddDriver(&GEODE, Module, flag);
- LoaderRefSymLists(amdVgahwSymbols, amdVbeSymbols,
- amdFbSymbols, amdXaaSymbols, amdInt10Symbols, amdRamdacSymbols, NULL);
-
return (pointer) TRUE;
}
@@ -362,12 +296,6 @@ AmdSetup(pointer Module, pointer Options, int *ErrorMajor, int *ErrorMinor)
#endif
);
- /* Tell the loader about symbols from other modules that this
- * module might refer to.
- */
- LoaderRefSymLists(amdVgahwSymbols, amdVbeSymbols,
- amdFbSymbols, amdXaaSymbols,
- amdInt10Symbols, amdRamdacSymbols, NULL);
return (pointer) TRUE;
}