[PATCH:xf86-video-xgi 06/19] Add prototype for bGetEDID.

Thomas Klausner wiz at NetBSD.org
Thu Aug 6 05:57:04 PDT 2015


Fixes
warning: implicit declaration of function 'bGetEDID'

Signed-off-by: Thomas Klausner <wiz at NetBSD.org>
---
 src/vb_i2c.h     | 1 +
 src/xgi_driver.c | 1 +
 2 files changed, 2 insertions(+)

diff --git a/src/vb_i2c.h b/src/vb_i2c.h
index 69f02cd..1284e9d 100755
--- a/src/vb_i2c.h
+++ b/src/vb_i2c.h
@@ -184,5 +184,6 @@ extern  BOOLEAN ResetI2C(PXGI_HW_DEVICE_INFO pHWDE,  PI2CControl pI2CControl);
 extern  BOOLEAN I2CRead(PXGI_HW_DEVICE_INFO pHWDE,PI2CControl pI2CControl);
 extern  BOOLEAN I2CWrite(PXGI_HW_DEVICE_INFO pHWDE,  PI2CControl pI2CControl);
 extern  BOOLEAN ResetI2C(PXGI_HW_DEVICE_INFO pHWDE,  PI2CControl pI2CControl);
+extern  BOOLEAN bGetEDID(PXGI_HW_DEVICE_INFO, ULONG , PUCHAR, ULONG);
 
 #endif
diff --git a/src/xgi_driver.c b/src/xgi_driver.c
index 7e5ede1..72bb3c6 100755
--- a/src/xgi_driver.c
+++ b/src/xgi_driver.c
@@ -78,6 +78,7 @@
 #include "vb_def.h"
 #include "xgi_driver.h"
 #include "valid_mode.h"
+#include "vb_i2c.h"
 
 #define _XF86DGA_SERVER_
 #include <X11/extensions/xf86dgaproto.h>
-- 
2.5.0



More information about the xorg-devel mailing list