summaryrefslogtreecommitdiff
path: root/hw/xfree86/ddc/xf86DDC.c
diff options
context:
space:
mode:
Diffstat (limited to 'hw/xfree86/ddc/xf86DDC.c')
-rw-r--r--hw/xfree86/ddc/xf86DDC.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/hw/xfree86/ddc/xf86DDC.c b/hw/xfree86/ddc/xf86DDC.c
index 123bb492e..2cdeacab5 100644
--- a/hw/xfree86/ddc/xf86DDC.c
+++ b/hw/xfree86/ddc/xf86DDC.c
@@ -34,7 +34,7 @@ static XF86ModuleVersionInfo ddcVersRec =
MODULEVENDORSTRING,
MODINFOSTRING1,
MODINFOSTRING2,
- XF86_VERSION_CURRENT,
+ XORG_VERSION_CURRENT,
1, 0, 0,
ABI_CLASS_VIDEODRV, /* needs the video driver ABI */
ABI_VIDEODRV_VERSION,
@@ -83,7 +83,7 @@ ddcSetup(pointer module, pointer opts, int *errmaj, int *errmin)
static unsigned char *EDIDRead_DDC1(
ScrnInfoPtr pScrn,
- void (*)(ScrnInfoPtr,xf86ddcSpeed),
+ DDC1SetSpeedProc,
unsigned int (*)(ScrnInfoPtr)
);
@@ -139,7 +139,7 @@ DDCAvailableOptions(void *unused)
xf86MonPtr
xf86DoEDID_DDC1(
- int scrnIndex, void (*DDC1SetSpeed)(ScrnInfoPtr, xf86ddcSpeed),
+ int scrnIndex, DDC1SetSpeedProc DDC1SetSpeed,
unsigned int (*DDC1Read)(ScrnInfoPtr)
)
{
@@ -227,7 +227,7 @@ xf86DoEDID_DDC2(int scrnIndex, I2CBusPtr pBus)
* function; it will also decide if we need to reread it
*/
static unsigned char *
-EDIDRead_DDC1(ScrnInfoPtr pScrn, void (*DDCSpeed)(ScrnInfoPtr,xf86ddcSpeed),
+EDIDRead_DDC1(ScrnInfoPtr pScrn, DDC1SetSpeedProc DDCSpeed,
unsigned int (*read_DDC)(ScrnInfoPtr))
{
unsigned char *EDID_block = NULL;