Build fix, s/pNv->/pRiva->/.

Fixes 52c034f5a4.
This commit is contained in:
Chris Ball
2008-11-03 20:08:32 -05:00
parent 52c034f5a4
commit 6c6511f4bd

View File

@@ -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,