This fixes a bug that appears to have crept in between
2.5.69-mm1 and 2.5.69-mm2 with the "switch most remaining
drivers over to devfs_mk_bdev" patch
Hal Duston
--- linux-2.5.69-mm2/sound/core/info.c
+++ linux-2.5.69-mm2-fix/sound/core/info.c
@@ -1080,7 +1080,7 @@
entry->p = p;
up(&info_mutex);
- if (strncmp(name, "controlC", 8) == 0) /* created in sound.c */
+ if (strncmp(name, "controlC", 8) != 0) /* created in sound.c */
devfs_mk_cdev(MKDEV(_major, minor), mode, "snd/%s", name);
return entry;
}
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
This archive was generated by hypermail 2b29 : Thu May 15 2003 - 22:00:47 EST