diff options
author | Takashi Iwai <tiwai@suse.de> | 2005-08-30 08:58:37 +0200 |
---|---|---|
committer | Jaroslav Kysela <perex@suse.cz> | 2005-08-30 08:58:37 +0200 |
commit | d568121ce3151c36cc4718dd4e977f217c6144c2 (patch) | |
tree | ee61f946a485c7cbe74c888d53ea7775aeef7444 /include/linux/sound.h | |
parent | 68c339d9068502347015ce462530ec54c4d841e4 (diff) |
[PATCH] Assign device pointer to OSS devices
Add register_sound_special_device() function to allow assignment of
device pointer to a specific OSS device for HAL.
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'include/linux/sound.h')
-rw-r--r-- | include/linux/sound.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/linux/sound.h b/include/linux/sound.h index 428f59794f48..72b9af4c3fd4 100644 --- a/include/linux/sound.h +++ b/include/linux/sound.h @@ -29,7 +29,9 @@ * Sound core interface functions */ +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); |