summaryrefslogtreecommitdiff
path: root/src/smilynx_hw.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/smilynx_hw.c')
-rw-r--r--src/smilynx_hw.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/smilynx_hw.c b/src/smilynx_hw.c
index 019261d..9a10a31 100644
--- a/src/smilynx_hw.c
+++ b/src/smilynx_hw.c
@@ -584,7 +584,7 @@ SMILynx_ddc1(ScrnInfoPtr pScrn)
tmp = VGAIN8_INDEX(pSmi, VGA_SEQ_INDEX, VGA_SEQ_DATA, 0x72);
VGAOUT8_INDEX(pSmi, VGA_SEQ_INDEX, VGA_SEQ_DATA, 0x72, tmp | 0x20);
- pMon = xf86PrintEDID(xf86DoEDID_DDC1(pScrn->scrnIndex,
+ pMon = xf86PrintEDID(xf86DoEDID_DDC1(XF86_SCRN_ARG(pScrn),
vgaHWddc1SetSpeedWeak(),
SMILynx_ddc1Read));
VGAOUT8_INDEX(pSmi, VGA_SEQ_INDEX, VGA_SEQ_DATA, 0x72, tmp);