Update of /cvsroot/alsa/alsa-kernel/core
In directory usw-pr-cvs1:/tmp/cvs-serv22844/core

Modified Files:
        info.c 
Log Message:
Sync with the kernel tree

Index: info.c
===================================================================
RCS file: /cvsroot/alsa/alsa-kernel/core/info.c,v
retrieving revision 1.18
retrieving revision 1.19
diff -u -r1.18 -r1.19
--- info.c      13 Aug 2002 16:13:34 -0000      1.18
+++ info.c      1 Oct 2002 14:49:16 -0000       1.19
@@ -972,10 +972,10 @@
                sprintf(dname, "snd/%s", entry->name);
 #if LINUX_VERSION_CODE < KERNEL_VERSION(2,3,0)
                master = devfs_find_handle(NULL, dname, strlen(dname), 0, 0, 
DEVFS_SPECIAL_CHR, 0);
+               devfs_unregister(master);
 #else
-               master = devfs_find_handle(NULL, dname, 0, 0, DEVFS_SPECIAL_CHR, 0);
+               devfs_find_and_unregister(NULL, dname, 0, 0, DEVFS_SPECIAL_CHR, 0);
 #endif
-               devfs_unregister(master);
        }
 #endif
        snd_info_free_entry(entry);



-------------------------------------------------------
This sf.net email is sponsored by: DEDICATED SERVERS only $89!
Linux or FreeBSD, FREE setup, FAST network. Get your own server 
today at http://www.ServePath.com/indexfm.htm
_______________________________________________
Alsa-cvslog mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/alsa-cvslog

Reply via email to