patch-2.2.0-pre5 linux/drivers/sound/sonicvibes.c
Next file: linux/drivers/sound/sound_calls.h
Previous file: linux/drivers/sound/sb_mixer.h
Back to the patch index
Back to the overall index
- Lines: 15
- Date:
Mon Jan 4 11:37:30 1999
- Orig file:
v2.2.0-pre4/linux/drivers/sound/sonicvibes.c
- Orig date:
Mon Dec 28 15:00:52 1998
diff -u --recursive --new-file v2.2.0-pre4/linux/drivers/sound/sonicvibes.c linux/drivers/sound/sonicvibes.c
@@ -2389,11 +2389,11 @@
printk(KERN_INFO "sv: found adapter at io %#06x irq %u dmaa %#06x dmac %#06x revision %u\n",
s->ioenh, s->irq, s->iodmaa, s->iodmac, rdindir(s, SV_CIREVISION));
/* register devices */
- if ((s->dev_audio = register_sound_dsp(&sv_audio_fops)) < 0)
+ if ((s->dev_audio = register_sound_dsp(&sv_audio_fops, -1)) < 0)
goto err_dev1;
- if ((s->dev_mixer = register_sound_mixer(&sv_mixer_fops)) < 0)
+ if ((s->dev_mixer = register_sound_mixer(&sv_mixer_fops, -1)) < 0)
goto err_dev2;
- if ((s->dev_midi = register_sound_midi(&sv_midi_fops)) < 0)
+ if ((s->dev_midi = register_sound_midi(&sv_midi_fops, -1)) < 0)
goto err_dev3;
if ((s->dev_dmfm = register_sound_special(&sv_dmfm_fops, 15 /* ?? */)) < 0)
goto err_dev4;
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov