Module Name:    xsrc
Committed By:   christos
Date:           Sun May 15 22:54:29 UTC 2011

Modified Files:
        xsrc/external/mit/xf86-video-chips/dist/src: ct_driver.c

Log Message:
- fix return
- add missing include file


To generate a diff of this commit:
cvs rdiff -u -r1.6 -r1.7 \
    xsrc/external/mit/xf86-video-chips/dist/src/ct_driver.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: xsrc/external/mit/xf86-video-chips/dist/src/ct_driver.c
diff -u xsrc/external/mit/xf86-video-chips/dist/src/ct_driver.c:1.6 xsrc/external/mit/xf86-video-chips/dist/src/ct_driver.c:1.7
--- xsrc/external/mit/xf86-video-chips/dist/src/ct_driver.c:1.6	Tue Nov 23 18:20:31 2010
+++ xsrc/external/mit/xf86-video-chips/dist/src/ct_driver.c	Sun May 15 18:54:29 2011
@@ -125,6 +125,8 @@
 #include "xf4bpp.h"
 #endif
 
+#include "hw/xfree86/xf8_16bpp/cfb8_16.h"
+
 /* int10 */
 #include "xf86int10.h"
 #include "vbe.h"
@@ -807,7 +809,7 @@
 	pScrn->ValidMode	= CHIPSValidMode;
 
 	if (!CHIPSGetRec(pScrn)) {
-		return;
+		return 0;
 	}
 	cPtr = CHIPSPTR(pScrn);
 	cPtr->Chipset = match_data;

Reply via email to