From 9b563415326e02f0b89f716c29b2fc22f393fb96 Mon Sep 17 00:00:00 2001 From: Adam Jackson Date: Wed, 21 May 2014 14:01:02 -0400 Subject: Use own thunk function instead of vgaHW*Weak I plan to remove the Weak functions from a future server. Signed-off-by: Adam Jackson --- src/smilynx_hw.c | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/src/smilynx_hw.c b/src/smilynx_hw.c index 9a10a31..7f6a8f2 100644 --- a/src/smilynx_hw.c +++ b/src/smilynx_hw.c @@ -572,6 +572,12 @@ SMILynx_ddc1Read(ScrnInfoPtr pScrn) LEAVE(ret); } +static void +SMILynx_ddc1SetSpeed(ScrnInfoPtr pScrn, xf86ddcSpeec speed) +{ + vgaHWddc1SetSpeed(pScrn, speed); +} + xf86MonPtr SMILynx_ddc1(ScrnInfoPtr pScrn) { @@ -585,7 +591,7 @@ SMILynx_ddc1(ScrnInfoPtr pScrn) VGAOUT8_INDEX(pSmi, VGA_SEQ_INDEX, VGA_SEQ_DATA, 0x72, tmp | 0x20); pMon = xf86PrintEDID(xf86DoEDID_DDC1(XF86_SCRN_ARG(pScrn), - vgaHWddc1SetSpeedWeak(), + SMILynx_ddc1SetSpeed, SMILynx_ddc1Read)); VGAOUT8_INDEX(pSmi, VGA_SEQ_INDEX, VGA_SEQ_DATA, 0x72, tmp); -- cgit v1.2.3