On Wed, Jan 07, 2004 at 11:28:31PM -0800, Andrew Morton wrote:
>...
> - Added the latest code drop from DRM CVS.  People who use DRM, please test
>   it.
>...

I got the following compile error:

<--  snip  -->

...
  CC      drivers/char/drm/sis_mm.o
drivers/char/drm/sis_mm.c:37:25: linux/sisfb.h: No such file or directory
drivers/char/drm/sis_mm.c: In function `sis_fb_alloc':
drivers/char/drm/sis_mm.c:92: error: storage size of `req' isn't known
drivers/char/drm/sis_mm.c:98: warning: implicit declaration of function `sis_malloc'
drivers/char/drm/sis_mm.c:105: warning: implicit declaration of function `sis_free'
drivers/char/drm/sis_mm.c:92: warning: unused variable `req'
make[3]: *** [drivers/char/drm/sis_mm.o] Error 1

<--  snip  -->


This is caused by the following part of the patch to sis_mm.c:


--- linux-2.6.1-rc2/drivers/char/drm/sis_mm.c   2003-09-27 18:57:44.000000000 -0700
+++ 25/drivers/char/drm/sis_mm.c        2004-01-07 22:17:56.000000000 -0800
@@ -34,7 +34,7 @@
 #include "sis_drv.h"
 #include "sis_ds.h"
 #if defined(__linux__) && defined(CONFIG_FB_SIS)
-#include <video/sisfb.h>
+#include <linux/sisfb.h>
 #endif
 
 #define MAX_CONTEXT 100


Reverting this chunk fixes the compilation.


cu
Adrian

-- 

       "Is there not promise of rain?" Ling Tan asked suddenly out
        of the darkness. There had been need of rain for many days.
       "Only a promise," Lao Er said.
                                       Pearl S. Buck - Dragon Seed



-------------------------------------------------------
This SF.net email is sponsored by: Perforce Software.
Perforce is the Fast Software Configuration Management System offering
advanced branching capabilities and atomic changes on 50+ platforms.
Free Eval! http://www.perforce.com/perforce/loadprog.html
--
_______________________________________________
Dri-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/dri-devel

Reply via email to