summaryrefslogtreecommitdiff
path: root/src/r128_misc.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/r128_misc.c')
-rw-r--r--src/r128_misc.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/r128_misc.c b/src/r128_misc.c
index 49d2803b..f8bccfef 100644
--- a/src/r128_misc.c
+++ b/src/r128_misc.c
@@ -65,9 +65,8 @@ R128Setup
if (!Inited)
{
- /* Ensure main driver module is loaded, but not as a submodule */
- if (!xf86ServerIsOnlyDetecting() && !LoaderSymbol(ATI_NAME))
- xf86LoadOneModule(ATI_DRIVER_NAME, Options);
+ if (xf86ServerIsOnlyDetecting() || !LoaderSymbol(ATI_NAME))
+ xf86AddDriver(&R128, Module, 0);
Inited = TRUE;
}