diff options
author | Dave Airlie <airlied@redhat.com> | 2012-06-07 15:52:16 +0100 |
---|---|---|
committer | Dave Airlie <airlied@redhat.com> | 2012-06-07 15:52:16 +0100 |
commit | 713e9501b87465cf2a62c27605b6fc4a454dad95 (patch) | |
tree | 0be6ee6ba5f01ad4f16c4c798a69992b36047186 /src/nv_setup.c | |
parent | b3d61828837661c9b383378a7d6006752659108b (diff) |
nv: port to new compat API.
Signed-off-by: Dave Airlie <airlied@redhat.com>
Diffstat (limited to 'src/nv_setup.c')
-rw-r--r-- | src/nv_setup.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/nv_setup.c b/src/nv_setup.c index c11427f..203e7b2 100644 --- a/src/nv_setup.c +++ b/src/nv_setup.c @@ -230,9 +230,9 @@ NVProbeDDC (ScrnInfoPtr pScrn, int bus) "Probing for EDID on I2C bus %s...\n", bus ? "B" : "A"); #ifdef EDID_COMPLETE_RAWDATA - MonInfo = xf86DoEEDID(pScrn->scrnIndex, pNv->I2C, TRUE); + MonInfo = xf86DoEEDID(XF86_SCRN_ARG(pScrn), pNv->I2C, TRUE); #else - MonInfo = xf86DoEDID_DDC2(pScrn->scrnIndex, pNv->I2C); + MonInfo = xf86DoEDID_DDC2(XF86_SCRN_ARG(pScrn), pNv->I2C); #endif if (MonInfo) { xf86DrvMsg(pScrn->scrnIndex, X_PROBED, |