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

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

diff -u --recursive --new-file v2.2.0-pre4/linux/drivers/sound/es1371.c linux/drivers/sound/es1371.c
@@ -2745,13 +2745,13 @@
 		printk(KERN_INFO "es1371: found adapter at io %#06x irq %u\n"
 		       KERN_INFO "es1371: features: joystick 0x%x\n", s->io, s->irq, joystick[index]);
 		/* register devices */
-		if ((s->dev_audio = register_sound_dsp(&es1371_audio_fops)) < 0)
+		if ((s->dev_audio = register_sound_dsp(&es1371_audio_fops, -1)) < 0)
 			goto err_dev1;
-		if ((s->dev_mixer = register_sound_mixer(&es1371_mixer_fops)) < 0)
+		if ((s->dev_mixer = register_sound_mixer(&es1371_mixer_fops, -1)) < 0)
 			goto err_dev2;
-		if ((s->dev_dac = register_sound_dsp(&es1371_dac_fops)) < 0)
+		if ((s->dev_dac = register_sound_dsp(&es1371_dac_fops, -1)) < 0)
 			goto err_dev3;
-		if ((s->dev_midi = register_sound_midi(&es1371_midi_fops)) < 0)
+		if ((s->dev_midi = register_sound_midi(&es1371_midi_fops, -1)) < 0)
 			goto err_dev4;
 		/* initialize codec registers */
 		s->ctrl = 0;

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