summaryrefslogtreecommitdiff
path: root/src/geode_ddc.c
diff options
context:
space:
mode:
authorMaarten Lankhorst <maarten.lankhorst@canonical.com>2012-07-21 12:36:51 +0200
committerMart Raudsepp <leio@gentoo.org>2012-07-26 07:38:56 +0300
commita83fcb6f84995dc50b8adffc27e264a663fbd606 (patch)
tree9e12ca73eb670f18f703a08b5061b951b0789f7a /src/geode_ddc.c
parent68646c3119a69a8391a49f2d565672d73829e2c9 (diff)
Initial stab at converting geode to new X1.13 API
Preparing to compile geode on X 1.13 All compiler errors are gone as far as I can tell, but I lack the hardware to verify it works as well.
Diffstat (limited to 'src/geode_ddc.c')
-rw-r--r--src/geode_ddc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/geode_ddc.c b/src/geode_ddc.c
index 8f1c605..7b8277d 100644
--- a/src/geode_ddc.c
+++ b/src/geode_ddc.c
@@ -173,7 +173,7 @@ GeodeGetDDC(ScrnInfoPtr pScrni)
if (!GeodeI2CInit(pScrni, &bus, "CS5536 DDC BUS"))
return NULL;
- mon = xf86DoEDID_DDC2(pScrni->scrnIndex, bus);
+ mon = xf86DoEDID_DDC2(DDC_CALL(pScrni), bus);
#if (XORG_VERSION_CURRENT >= XORG_VERSION_NUMERIC(1,4,99,0,0))
if (mon)