diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/savage_driver.c | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/src/savage_driver.c b/src/savage_driver.c index bca2c60..e82794f 100644 --- a/src/savage_driver.c +++ b/src/savage_driver.c @@ -4576,6 +4576,12 @@ SavageDDC1Read(ScrnInfoPtr pScrn) return ((unsigned int) (tmp & 0x08)); } +static void +SavageDDC1SetSpeed(ScrnInfoPtr pScrn, xf86ddcSpeed speed) +{ + vgaHWddc1SetSpeed(pScrn, speed); +} + static Bool SavageDDC1(ScrnInfoPtr pScrn) { @@ -4589,7 +4595,8 @@ SavageDDC1(ScrnInfoPtr pScrn) InI2CREG(byte,psav->I2CPort); OutI2CREG(byte | 0x12,psav->I2CPort); - pMon = xf86DoEDID_DDC1(XF86_SCRN_ARG(pScrn),vgaHWddc1SetSpeedWeak(),SavageDDC1Read); + pMon = xf86DoEDID_DDC1(XF86_SCRN_ARG(pScrn), SavageDDC1SetSpeed, + SavageDDC1Read); if (!pMon) return FALSE; |