[Openchrome-devel] [PATCH] Fix for viaVT1632Init implicit function declaration build warning
Xavier Bachelot
xavier at bachelot.org
Wed Aug 3 14:40:46 UTC 2016
via_tmds.c: In function ‘via_dvi_init’:
via_tmds.c:767:10: warning: implicit declaration of function
‘viaVT1632Init’ [-Wimplicit-function-declaration]
if (!viaVT1632Init(pScrn, pVia->pI2CBus2)) {
^~~~~~~~~~~~~
---
src/via_ums.h | 1 +
1 file changed, 1 insertion(+)
diff --git a/src/via_ums.h b/src/via_ums.h
index b9bd737..33ab396 100644
--- a/src/via_ums.h
+++ b/src/via_ums.h
@@ -243,6 +243,7 @@ void via_lvds_init(ScrnInfoPtr pScrn);
const xf86OutputFuncsRec via_dvi_funcs;
void viaTMDSPower(ScrnInfoPtr pScrn, Bool On);
void via_dvi_init(ScrnInfoPtr pScrn);
+Bool viaVT1632Init(ScrnInfoPtr pScrn, I2CBusPtr pI2CBus);
/*via_tv.c */
#ifdef HAVE_DEBUG
--
2.7.4
More information about the Openchrome-devel
mailing list