patch-2.2.0-pre5 linux/drivers/sound/dev_table.c

Next file: linux/drivers/sound/dmasound.c
Previous file: linux/drivers/sound/ad1848.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.2.0-pre4/linux/drivers/sound/dev_table.c linux/drivers/sound/dev_table.c
@@ -524,7 +524,7 @@
 
 int sound_alloc_audiodev(void)
 { 
-	int i = register_sound_dsp(&oss_sound_fops);
+	int i = register_sound_dsp(&oss_sound_fops, -1);
 	if(i==-1)
 		return i;
 	i>>=4;
@@ -536,7 +536,7 @@
 int sound_alloc_mididev(void)
 {
 #ifdef CONFIG_MIDI
-	int i = register_sound_midi(&oss_sound_fops);
+	int i = register_sound_midi(&oss_sound_fops, -1);
 	if(i==-1)
 		return i;
 	i>>=4;
@@ -566,7 +566,7 @@
 
 int sound_alloc_mixerdev(void)
 {
-	int i = register_sound_mixer(&oss_sound_fops);
+	int i = register_sound_mixer(&oss_sound_fops, -1);
 	if(i==-1)
 		return -1;
 	i>>=4;

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov