X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=include%2Flinux%2Fsound.h;fp=include%2Flinux%2Fsound.h;h=f63d8342ffa342a813c5b2bc10f89a54f00f801a;hb=43bc926fffd92024b46cafaf7350d669ba9ca884;hp=428f59794f4877e87455d49e9de7cb1779eb4334;hpb=cee37fe97739d85991964371c1f3a745c00dd236;p=linux-2.6.git diff --git a/include/linux/sound.h b/include/linux/sound.h index 428f59794..f63d8342f 100644 --- a/include/linux/sound.h +++ b/include/linux/sound.h @@ -29,11 +29,13 @@ * Sound core interface functions */ -extern int register_sound_special(struct file_operations *fops, int unit); -extern int register_sound_mixer(struct file_operations *fops, int dev); -extern int register_sound_midi(struct file_operations *fops, int dev); -extern int register_sound_dsp(struct file_operations *fops, int dev); -extern int register_sound_synth(struct file_operations *fops, int dev); +struct device; +extern int register_sound_special(const struct file_operations *fops, int unit); +extern int register_sound_special_device(const struct file_operations *fops, int unit, struct device *dev); +extern int register_sound_mixer(const struct file_operations *fops, int dev); +extern int register_sound_midi(const struct file_operations *fops, int dev); +extern int register_sound_dsp(const struct file_operations *fops, int dev); +extern int register_sound_synth(const struct file_operations *fops, int dev); extern void unregister_sound_special(int unit); extern void unregister_sound_mixer(int unit);