[Nouveau] [PATCH xf86-video-nouveau] wfb: Fix missing init function decls behind FB_ACCESS_WRAPPER
Rhys Kidd
rhyskidd at gmail.com
Mon Jan 21 00:20:08 UTC 2019
Fixes warning with xserver 1.20 and gcc 8.2:
nv_driver.c:1443:9: warning: implicit declaration of function ‘wfbScreenInit’; did you mean ‘fbScreenInit’? [-Wimplicit-function-declaration]
ret = wfbScreenInit(pScreen, FBStart, pScrn->virtualX,
^~~~~~~~~~~~~
fbScreenInit
(See xserver 706e6d9cd074da606016ed4ecff51e9c2a822087)
Signed-off-by: Rhys Kidd <rhyskidd at gmail.com>
---
src/nv_include.h | 1 +
1 file changed, 1 insertion(+)
diff --git a/src/nv_include.h b/src/nv_include.h
index de55570..6fdeeab 100644
--- a/src/nv_include.h
+++ b/src/nv_include.h
@@ -38,6 +38,7 @@
#include "dixstruct.h"
#include "scrnintstr.h"
+#define FB_ACCESS_WRAPPER
#include "fb.h"
#include "xf86cmap.h"
--
2.19.1
More information about the Nouveau
mailing list