mirror of
https://github.com/X11Libre/xf86-video-chips.git
synced 2026-03-24 01:24:44 +00:00
ddc: Use own thunk function instead of vgaHWddc1SetSpeedWeak
I plan to remove the Weak functions from future servers. Signed-off-by: Adam Jackson <ajax@redhat.com>
This commit is contained in:
@@ -33,6 +33,12 @@ chips_ddc1Read(ScrnInfoPtr pScrn)
|
||||
return (tmp & ddc_mask);
|
||||
}
|
||||
|
||||
static void
|
||||
chips_ddc1SetSpeed(ScrnInfoPtr pScrn, xf86ddcSpeed speed)
|
||||
{
|
||||
vgaHWddc1SetSpeed(pScrn, speed);
|
||||
}
|
||||
|
||||
void
|
||||
chips_ddc1(ScrnInfoPtr pScrn)
|
||||
{
|
||||
@@ -93,7 +99,7 @@ chips_ddc1(ScrnInfoPtr pScrn)
|
||||
xf86DrvMsg(pScrn->scrnIndex, X_PROBED, "DDC1 found\n");
|
||||
else return;
|
||||
|
||||
xf86PrintEDID(xf86DoEDID_DDC1(XF86_SCRN_ARG(pScrn), vgaHWddc1SetSpeedWeak(),
|
||||
xf86PrintEDID(xf86DoEDID_DDC1(XF86_SCRN_ARG(pScrn), chips_ddc1SetSpeed,
|
||||
chips_ddc1Read));
|
||||
|
||||
/* restore */
|
||||
|
||||
Reference in New Issue
Block a user