summaryrefslogtreecommitdiff
path: root/src/ativalid.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/ativalid.c')
-rw-r--r--src/ativalid.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/ativalid.c b/src/ativalid.c
index 51cf5ae..122f594 100644
--- a/src/ativalid.c
+++ b/src/ativalid.c
@@ -24,11 +24,11 @@
#include "config.h"
#endif
+#include "xf86.h"
#include "atichip.h"
#include "atistruct.h"
#include "ativalid.h"
-#include "xf86.h"
/*
* ATIValidMode --
@@ -38,13 +38,13 @@
ModeStatus
ATIValidMode
(
- int iScreen,
+ SCRN_ARG_TYPE arg,
DisplayModePtr pMode,
Bool Verbose,
int flags
)
{
- ScrnInfoPtr pScreenInfo = xf86Screens[iScreen];
+ SCRN_INFO_PTR(arg);
ATIPtr pATI = ATIPTR(pScreenInfo);
int HBlankWidth, HAdjust, VScan, VInterlace;