summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDave Airlie <airlied@gmail.com>2012-07-18 18:46:49 +1000
committerDave Airlie <airlied@gmail.com>2012-07-18 18:46:49 +1000
commit5eb7fec958bc6ba8a1a2b0be4916cac818866e1c (patch)
tree1249155ce556f35febfcc6f5daa3325ed25fb37b
parent2776fc9cd69f18ba6f09f39ca747f3a9333bf9e4 (diff)
mach64: fix build on 32-bit.
tvout code only builds on 32-bit, fix build. Signed-off-by: Dave Airlie <airlied@redhat.com>
-rw-r--r--src/atiscreen.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/atiscreen.c b/src/atiscreen.c
index 2957877..b1fbd3c 100644
--- a/src/atiscreen.c
+++ b/src/atiscreen.c
@@ -580,7 +580,7 @@ ATIScreenInit(SCREEN_INIT_ARGS_DECL)
#ifdef TV_OUT
/* Fix-up TV out after ImpacTV probe */
if (pATI->OptionTvOut && pATI->Chip < ATI_CHIP_264GTPRO)
- ATISwitchMode(0, pScreenInfo->currentMode, 0);
+ ATISwitchMode(SWITCH_MODE_ARGS(pScreenInfo, pScreenInfo->currentMode));
#endif /* TV_OUT */
#ifdef XF86DRI_DEVEL