summaryrefslogtreecommitdiff
path: root/src/ativalid.c
diff options
context:
space:
mode:
authorDave Airlie <airlied@redhat.com>2012-06-06 10:41:11 +0100
committerDave Airlie <airlied@redhat.com>2012-06-06 10:41:11 +0100
commita9f3a66e355b9f19c312d399771fb1d8eb2e046d (patch)
tree1f86ca50a5ccaf835a84722458954b97b757f478 /src/ativalid.c
parent84468ba28853fa57170025d9c25cb0029a386ff4 (diff)
mach64: port to new compat API.
Signed-off-by: Dave Airlie <airlied@redhat.com>
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;