summaryrefslogtreecommitdiff
path: root/src/bw2_driver.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/bw2_driver.c')
-rw-r--r--src/bw2_driver.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/bw2_driver.c b/src/bw2_driver.c
index e6bd2a9..00b0072 100644
--- a/src/bw2_driver.c
+++ b/src/bw2_driver.c
@@ -52,8 +52,8 @@ static void BW2AdjustFrame(int scrnIndex, int x, int y, int flags);
/* Optional functions */
static void BW2FreeScreen(int scrnIndex, int flags);
-static ModeStatus BW2ValidMode(int scrnIndex, DisplayModePtr mode,
- Bool verbose, int flags);
+static int BW2ValidMode(int scrnIndex, DisplayModePtr mode, Bool verbose,
+ int flags);
void BW2Sync(ScrnInfoPtr pScrn);
@@ -96,7 +96,7 @@ static XF86ModuleVersionInfo sunbw2VersRec =
MODULEVENDORSTRING,
MODINFOSTRING1,
MODINFOSTRING2,
- XORG_VERSION_CURRENT,
+ XF86_VERSION_CURRENT,
BW2_MAJOR_VERSION, BW2_MINOR_VERSION, BW2_PATCHLEVEL,
ABI_CLASS_VIDEODRV,
ABI_VIDEODRV_VERSION,
@@ -555,7 +555,7 @@ BW2FreeScreen(int scrnIndex, int flags)
/* Checks if a mode is suitable for the selected chipset. */
/* Optional */
-static ModeStatus
+static int
BW2ValidMode(int scrnIndex, DisplayModePtr mode, Bool verbose, int flags)
{
if (mode->Flags & V_INTERLACE)