summaryrefslogtreecommitdiff
path: root/src/atimodule.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/atimodule.c')
-rw-r--r--src/atimodule.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/atimodule.c b/src/atimodule.c
index 802c35ad..c2493338 100644
--- a/src/atimodule.c
+++ b/src/atimodule.c
@@ -27,6 +27,8 @@
#include "ati.h"
#include "ativersion.h"
+extern void ati_gdev_subdriver(pointer options);
+
/* Module loader interface */
static XF86ModuleVersionInfo ATIVersionRec =
@@ -62,9 +64,7 @@ ATISetup
if (!Inited)
{
Inited = TRUE;
- xf86AddDriver(&ATI, Module, 0);
-
- ati_check_subdriver_added();
+ ati_gdev_subdriver(Options);
}
return (pointer)1;