[PATCH xf86-video-neomagic 2/2] Suppress unused function compilation warning

Kevin Brace kevinbrace at gmx.com
Sat Dec 22 22:17:40 UTC 2018


Signed-off-by: Kevin Brace <kevinbrace at gmx.com>
---
 src/neo_driver.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/src/neo_driver.c b/src/neo_driver.c
index 7c7dc19..84e09ca 100644
--- a/src/neo_driver.c
+++ b/src/neo_driver.c
@@ -118,7 +118,9 @@ static ModeStatus NEOValidMode(SCRN_ARG_TYPE arg, DisplayModePtr mode,
                                Bool verbose, int flags);
 
 /* Internally used functions */
+#ifdef HAVE_ISA
 static int      neoFindIsaDevice(GDevPtr dev);
+#endif
 static Bool     neoModeInit(ScrnInfoPtr pScrn, DisplayModePtr mode);
 static void     neoSave(ScrnInfoPtr pScrn);
 static void     neoRestore(ScrnInfoPtr pScrn, vgaRegPtr VgaReg,
-- 
2.7.4



More information about the xorg-devel mailing list