summaryrefslogtreecommitdiff
path: root/src/r128_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/r128_probe.c
parent19e1b180fec6f83a474e125465bc60111c0f43e0 (diff)
ati wrapper: add DriverRec's and use them
Diffstat (limited to 'src/r128_probe.c')
-rw-r--r--src/r128_probe.c17
1 files changed, 14 insertions, 3 deletions
diff --git a/src/r128_probe.c b/src/r128_probe.c
index 0be21e8a..5dd5cc9c 100644
--- a/src/r128_probe.c
+++ b/src/r128_probe.c
@@ -106,7 +106,7 @@ PciChipsets R128PciChipsets[] = {
int gR128EntityIndex = -1;
/* Return the options for supported chipset 'n'; NULL otherwise */
-_X_EXPORT const OptionInfoRec *
+static const OptionInfoRec *
R128AvailableOptions(int chipid, int busid)
{
int i;
@@ -125,7 +125,7 @@ R128AvailableOptions(int chipid, int busid)
}
/* Return the string name for supported chipset 'n'; NULL otherwise. */
-_X_EXPORT void
+static void
R128Identify(int flags)
{
xf86PrintChipsets(R128_NAME,
@@ -134,7 +134,7 @@ R128Identify(int flags)
}
/* Return TRUE if chipset is present; FALSE otherwise. */
-_X_EXPORT Bool
+static Bool
R128Probe(DriverPtr drv, int flags)
{
int numUsed;
@@ -253,3 +253,14 @@ R128Probe(DriverPtr drv, int flags)
return foundScreen;
}
+
+_X_EXPORT DriverRec R128 =
+{
+ R128_VERSION_CURRENT,
+ R128_DRIVER_NAME,
+ R128Identify,
+ R128Probe,
+ R128AvailableOptions,
+ NULL,
+ 0
+};