First import
[xorg_rtime.git] / xorg-server-1.4 / hw / xfree86 / xf8_32bpp / cfb8_32module.c
blob5afabe52d3d8224cd43bfb66119aa719ad3ba627
1 #ifdef HAVE_XORG_CONFIG_H
2 #include <xorg-config.h>
3 #endif
5 #include "xf86Module.h"
7 static MODULESETUPPROTO(xf8_32bppSetup);
9 static XF86ModuleVersionInfo VersRec =
11 "xf8_32bpp",
12 MODULEVENDORSTRING,
13 MODINFOSTRING1,
14 MODINFOSTRING2,
15 XORG_VERSION_CURRENT,
16 1, 0, 0,
17 ABI_CLASS_ANSIC, /* Only need the ansic layer */
18 ABI_ANSIC_VERSION,
19 MOD_CLASS_NONE,
20 {0,0,0,0} /* signature, to be patched into the file by a tool */
23 _X_EXPORT XF86ModuleData xf8_32bppModuleData = {
24 &VersRec,
25 xf8_32bppSetup,
26 NULL
29 static pointer
30 xf8_32bppSetup(pointer module, pointer opts, int *errmaj, int *errmin)
32 if (!LoadSubModule(module, "cfb", NULL, NULL, NULL, NULL,
33 errmaj, errmin))
34 return NULL;
35 if (!LoadSubModule(module, "cfb32", NULL, NULL, NULL, NULL,
36 errmaj, errmin))
37 return NULL;
38 return (pointer)1; /* non-NULL required to indicate success */