Update of /cvsroot/alsa/alsa-driver/support/pnp
In directory sc8-pr-cvs1:/tmp/cvs-serv30349

Modified Files:
        pnp.c 
Log Message:
fixed the compile warnings on 2.2 kernel.



Index: pnp.c
===================================================================
RCS file: /cvsroot/alsa/alsa-driver/support/pnp/pnp.c,v
retrieving revision 1.12
retrieving revision 1.13
diff -u -r1.12 -r1.13
--- pnp.c       5 Sep 2003 17:44:12 -0000       1.12
+++ pnp.c       24 Sep 2003 16:44:11 -0000      1.13
@@ -72,7 +72,7 @@
 #define __exit
 #endif
 
-#if LINUX_VERSION_CODE < KERNEL_VERSION(2,3,0)
+#ifndef module_init
 #define module_init(x)      int init_module(void) { return x(); }
 #define module_exit(x)      void cleanup_module(void) { x(); }
 #endif



-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
Alsa-cvslog mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/alsa-cvslog

Reply via email to