Update of /cvsroot/alsa/alsa-driver/include
In directory usw-pr-cvs1:/tmp/cvs-serv11449

Modified Files:
        adriver.h 
Log Message:
Fixed compilation with DEVFS

Index: adriver.h
===================================================================
RCS file: /cvsroot/alsa/alsa-driver/include/adriver.h,v
retrieving revision 1.18
retrieving revision 1.19
diff -u -r1.18 -r1.19
--- adriver.h   2 Oct 2002 06:27:33 -0000       1.18
+++ adriver.h   3 Oct 2002 07:20:10 -0000       1.19
@@ -174,18 +174,20 @@
 #define unregister_chrdev devfs_unregister_chrdev
 #endif
 #if LINUX_VERSION_CODE < KERNEL_VERSION(2, 3, 0)
-static inline extern void devfs_find_and_unregister (devfs_handle_t dir, const char 
*name,
-                                                    unsigned int major, unsigned int 
minor,
-                                                     char type, int 
traverse_symlinks);
+#include <linux/devfs_fs_kernel.h>
+static inline void devfs_find_and_unregister (devfs_handle_t dir, const char *name,
+                                             unsigned int major, unsigned int minor,
+                                              char type, int traverse_symlinks)
 {
        devfs_handle_t master;
        master = devfs_find_handle(dir, name, strlen(name), major, minor, type, 
traverse_symlinks);
        devfs_unregister(master);
 }
 #elif LINUX_VERSION_CODE < KERNEL_VERSION(2, 5, 0)
-static inline extern void devfs_find_and_unregister (devfs_handle_t dir, const char 
*name,
-                                                    unsigned int major, unsigned int 
minor,
-                                                     char type, int 
traverse_symlinks);
+#include <linux/devfs_fs_kernel.h>
+static inline void devfs_find_and_unregister (devfs_handle_t dir, const char *name,
+                                             unsigned int major, unsigned int minor,
+                                              char type, int traverse_symlinks)
 {
        devfs_handle_t master;
        master = devfs_find_handle(dir, name, major, minor, type, traverse_symlinks);



-------------------------------------------------------
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