X-Git-Url: http://ftp.safe.ca/?a=blobdiff_plain;f=include%2Flinux%2Fsound.h;h=9e2a94feed6baa519190de1db4521b4eaeeead43;hb=edbe6c325da48e707a3b31310c5ff5783cf6c0be;hp=72b9af4c3fd48e822fb28a8d3d025115fc82ff62;hpb=d568121ce3151c36cc4718dd4e977f217c6144c2;p=safe%2Fjmp%2Flinux-2.6 diff --git a/include/linux/sound.h b/include/linux/sound.h index 72b9af4..9e2a94f 100644 --- a/include/linux/sound.h +++ b/include/linux/sound.h @@ -30,15 +30,13 @@ */ struct device; -extern int register_sound_special(struct file_operations *fops, int unit); -extern int register_sound_special_device(struct file_operations *fops, int unit, struct device *dev); -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); +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);