Update of /cvsroot/alsa/alsa-kernel/core
In directory sc8-pr-cvs1:/tmp/cvs-serv19171

Modified Files:
        info.c 
Log Message:
fixed the device major number.



Index: info.c
===================================================================
RCS file: /cvsroot/alsa/alsa-kernel/core/info.c,v
retrieving revision 1.29
retrieving revision 1.30
diff -u -r1.29 -r1.30
--- info.c      7 Jan 2003 12:27:45 -0000       1.29
+++ info.c      10 Jan 2003 18:18:43 -0000      1.30
@@ -1061,7 +1061,7 @@
                return NULL;
        entry->content = SNDRV_INFO_CONTENT_DEVICE;
        entry->mode = mode;
-       entry->c.device.major = major;
+       entry->c.device.major = _major;
        entry->c.device.minor = minor;
        down(&info_mutex);
        p = create_proc_entry(entry->name, entry->mode, snd_proc_dev);
@@ -1085,7 +1085,7 @@
                char dname[32];
                sprintf(dname, "snd/%s", name);
                devfs_register(NULL, dname, DEVFS_FL_DEFAULT,
-                               major, minor, mode,
+                               _major, minor, mode,
                                &snd_fops, NULL);
        }
 #endif



-------------------------------------------------------
This SF.NET email is sponsored by:
SourceForge Enterprise Edition + IBM + LinuxWorld = Something 2 See!
http://www.vasoftware.com
_______________________________________________
Alsa-cvslog mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/alsa-cvslog

Reply via email to