diff options
Diffstat (limited to 'src/r128_probe.c')
-rw-r--r-- | src/r128_probe.c | 17 |
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 +}; |