summaryrefslogtreecommitdiff
path: root/src/radeon_probe.c
diff options
context:
space:
mode:
authorGeorge Sapountzis <gsap7@yahoo.gr>2008-01-12 16:18:34 +0200
committerGeorge Sapountzis <gsap7@yahoo.gr>2008-01-16 16:15:57 +0200
commitc2caeb11a97dad5379d70881c5c0fd834a8c3d54 (patch)
tree00718c716fa2ddebe3f27cb0a62fa5f997c3bc90 /src/radeon_probe.c
parent19e1b180fec6f83a474e125465bc60111c0f43e0 (diff)
ati wrapper: add DriverRec's and use them
Diffstat (limited to 'src/radeon_probe.c')
-rw-r--r--src/radeon_probe.c17
1 files changed, 14 insertions, 3 deletions
diff --git a/src/radeon_probe.c b/src/radeon_probe.c
index e0a77e6b..0cf54b6c 100644
--- a/src/radeon_probe.c
+++ b/src/radeon_probe.c
@@ -58,7 +58,7 @@
int gRADEONEntityIndex = -1;
/* Return the options for supported chipset 'n'; NULL otherwise */
-_X_EXPORT const OptionInfoRec *
+static const OptionInfoRec *
RADEONAvailableOptions(int chipid, int busid)
{
int i;
@@ -77,7 +77,7 @@ RADEONAvailableOptions(int chipid, int busid)
}
/* Return the string name for supported chipset 'n'; NULL otherwise. */
-_X_EXPORT void
+static void
RADEONIdentify(int flags)
{
xf86PrintChipsets(RADEON_NAME,
@@ -86,7 +86,7 @@ RADEONIdentify(int flags)
}
/* Return TRUE if chipset is present; FALSE otherwise. */
-_X_EXPORT Bool
+static Bool
RADEONProbe(DriverPtr drv, int flags)
{
int numUsed;
@@ -207,3 +207,14 @@ RADEONProbe(DriverPtr drv, int flags)
return foundScreen;
}
+
+_X_EXPORT DriverRec RADEON =
+{
+ RADEON_VERSION_CURRENT,
+ RADEON_DRIVER_NAME,
+ RADEONIdentify,
+ RADEONProbe,
+ RADEONAvailableOptions,
+ NULL,
+ 0
+};