mirror of
https://github.com/X11Libre/xf86-video-cirrus.git
synced 2026-03-23 17:19:28 +00:00
Fix for Laguna I2C bus code compilation error
When commit 9a5e19597b (cirrus: convert
to compat server API.) updated the code, it did not update Laguna I2C
bus code to handle newer X Servers.
Signed-off-by: Kevin Brace <kevinbrace@gmx.com>
This commit is contained in:
@@ -359,7 +359,7 @@ LgDoDDC(ScrnInfoPtr pScrn)
|
||||
/*
|
||||
* Read and output monitor info using DDC2 over I2C bus.
|
||||
*/
|
||||
MonInfo = xf86DoEDID_DDC2(pScrn->scrnIndex, pCir->I2CPtr1);
|
||||
MonInfo = xf86DoEDID_DDC2(XF86_SCRN_ARG(pScrn), pCir->I2CPtr1);
|
||||
xf86DrvMsg(pScrn->scrnIndex, X_INFO,
|
||||
"I2C Monitor info: %p\n", (void *)MonInfo);
|
||||
xf86PrintEDID(MonInfo);
|
||||
|
||||
Reference in New Issue
Block a user