summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Klausner <wiz@NetBSD.org>2015-08-06 14:08:23 +0200
committerThomas Klausner <wiz@NetBSD.org>2015-08-10 23:41:56 +0200
commitbc4705928326e133320d05f2b3b9ae97dc15cd22 (patch)
tree881a28e8553f9f54c4cc77f43c730bfa55c56bed
parent4719b89548ac8664c83374764e994993e6fb7c82 (diff)
Add prototype for bGetEDID.
Fixes warning: implicit declaration of function 'bGetEDID' Signed-off-by: Thomas Klausner <wiz@NetBSD.org> Reviewed-by: Connor Behan <connor.behan@gmail.com>
-rwxr-xr-xsrc/vb_i2c.h1
-rwxr-xr-xsrc/xgi_driver.c1
2 files changed, 2 insertions, 0 deletions
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>