Update of /cvsroot/alsa/alsa-kernel/core In directory sc8-pr-cvs1:/tmp/cvs-serv25900/core
Modified Files: sound.c Log Message: - take MODULE_ALIAS_CHARDEV_MAJOR() back. - added missing inclusion of linux/device.h. Index: sound.c =================================================================== RCS file: /cvsroot/alsa/alsa-kernel/core/sound.c,v retrieving revision 1.53 retrieving revision 1.54 diff -u -r1.53 -r1.54 --- sound.c 30 Oct 2003 11:29:25 -0000 1.53 +++ sound.c 31 Oct 2003 11:37:10 -0000 1.54 @@ -31,6 +31,7 @@ #include <sound/initval.h> #include <linux/kmod.h> #include <linux/devfs_fs_kernel.h> +#include <linux/device.h> #define SNDRV_OS_MINORS 256 @@ -57,8 +58,7 @@ MODULE_PARM_DESC(device_mode, "Device file permission mask for devfs."); MODULE_PARM_SYNTAX(device_mode, "default:0666,base:8"); #endif -// MODULE_ALIAS_CHARDEV_MAJOR(CONFIG_SND_MAJOR); -MODULE_ALIAS("char-major-" __stringify(CONFIG_SND_MAJOR)); +MODULE_ALIAS_CHARDEV_MAJOR(CONFIG_SND_MAJOR); /* this one holds the actual max. card number currently available. * as default, it's identical with cards_limit option. when more ------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. Does SourceForge.net help you be more productive? Does it help you create better code? SHARE THE LOVE, and help us help YOU! Click Here: http://sourceforge.net/donate/ _______________________________________________ Alsa-cvslog mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/alsa-cvslog