summaryrefslogtreecommitdiffstats
path: root/include/linux/sound.h
diff options
context:
space:
mode:
authorTakashi Iwai <tiwai@suse.de>2005-08-30 08:58:37 +0200
committerJaroslav Kysela <perex@suse.cz>2005-08-30 08:58:37 +0200
commitd568121ce3151c36cc4718dd4e977f217c6144c2 (patch)
treeee61f946a485c7cbe74c888d53ea7775aeef7444 /include/linux/sound.h
parent68c339d9068502347015ce462530ec54c4d841e4 (diff)
downloadop-kernel-dev-d568121ce3151c36cc4718dd4e977f217c6144c2.zip
op-kernel-dev-d568121ce3151c36cc4718dd4e977f217c6144c2.tar.gz
[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.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/linux/sound.h b/include/linux/sound.h
index 428f597..72b9af4 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);
OpenPOWER on IntegriCloud