diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/riva_setup.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/riva_setup.c b/src/riva_setup.c index b616798..64726f7 100644 --- a/src/riva_setup.c +++ b/src/riva_setup.c @@ -168,9 +168,9 @@ RivaProbeDDC (ScrnInfoPtr pScrn) xf86DrvMsg(pScrn->scrnIndex, X_INFO, "Probing for EDID...\n"); #ifdef EDID_COMPLETE_RAWDATA - MonInfo = xf86DoEEDID(pScrn->scrnIndex, pNv->I2C, TRUE); + MonInfo = xf86DoEEDID(pScrn->scrnIndex, pRiva->I2C, TRUE); #else - MonInfo = xf86DoEDID_DDC2(pScrn->scrnIndex, pNv->I2C); + MonInfo = xf86DoEDID_DDC2(pScrn->scrnIndex, pRiva->I2C); #endif if (MonInfo) { xf86DrvMsg(pScrn->scrnIndex, X_INFO, |