X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=include%2Flinux%2Fsound.h;h=9e2a94feed6baa519190de1db4521b4eaeeead43;hb=97bf2856c6014879bd04983a3e9dfcdac1e7fe85;hp=428f59794f4877e87455d49e9de7cb1779eb4334;hpb=5273a3df6485dc2ad6aa7ddd441b9a21970f003b;p=linux-2.6.git diff --git a/include/linux/sound.h b/include/linux/sound.h index 428f59794..9e2a94fee 100644 --- a/include/linux/sound.h +++ b/include/linux/sound.h @@ -29,14 +29,14 @@ * 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 void unregister_sound_special(int unit); extern void unregister_sound_mixer(int unit); extern void unregister_sound_midi(int unit); extern void unregister_sound_dsp(int unit); -extern void unregister_sound_synth(int unit);