Update of /cvsroot/alsa/alsa-driver/pcmcia/vx
In directory sc8-pr-cvs1:/tmp/cvs-serv5793/vx

Modified Files:
        vxp440.c vxpocket.c 
Log Message:
Kristof vansant <[EMAIL PROTECTED]>:
- fixed compilation for 2.6 kernels


Index: vxp440.c
===================================================================
RCS file: /cvsroot/alsa/alsa-driver/pcmcia/vx/vxp440.c,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -r1.5 -r1.6
--- vxp440.c    10 Jun 2003 14:04:27 -0000      1.5
+++ vxp440.c    8 Jan 2004 11:23:23 -0000       1.6
@@ -1,10 +1,12 @@
 #include <linux/config.h>
 #include <linux/version.h>
 
+#if LINUX_VERSION_CODE < KERNEL_VERSION(2, 6, 0)
 #if defined(CONFIG_MODVERSIONS) && !defined(__GENKSYMS__) && !defined(__DEPEND__)
 #define MODVERSIONS
 #include <linux/modversions.h>
 #include "sndversions.h"
+#endif
 #endif
 
 #include "config.h"

Index: vxpocket.c
===================================================================
RCS file: /cvsroot/alsa/alsa-driver/pcmcia/vx/vxpocket.c,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -r1.7 -r1.8
--- vxpocket.c  10 Jun 2003 14:04:27 -0000      1.7
+++ vxpocket.c  8 Jan 2004 11:23:23 -0000       1.8
@@ -1,10 +1,12 @@
 #include <linux/config.h>
 #include <linux/version.h>
 
+#if LINUX_VERSION_CODE < KERNEL_VERSION(2, 6, 0)
 #if defined(CONFIG_MODVERSIONS) && !defined(__GENKSYMS__) && !defined(__DEPEND__)
 #define MODVERSIONS
 #include <linux/modversions.h>
 #include "sndversions.h"
+#endif
 #endif
 
 #include "config.h"



-------------------------------------------------------
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
_______________________________________________
Alsa-cvslog mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/alsa-cvslog

Reply via email to