Merge tag 'drm-intel-fixes-2019-02-13' of git://anongit.freedesktop.org/drm/drm-intel...
[sfrench/cifs-2.6.git] / include / linux / sound.h
1 /* SPDX-License-Identifier: GPL-2.0 */
2 #ifndef _LINUX_SOUND_H
3 #define _LINUX_SOUND_H
4
5 #include <uapi/linux/sound.h>
6
7 /*
8  *      Sound core interface functions
9  */
10  
11 struct device;
12 extern int register_sound_special(const struct file_operations *fops, int unit);
13 extern int register_sound_special_device(const struct file_operations *fops, int unit, struct device *dev);
14 extern int register_sound_mixer(const struct file_operations *fops, int dev);
15 extern int register_sound_dsp(const struct file_operations *fops, int dev);
16
17 extern void unregister_sound_special(int unit);
18 extern void unregister_sound_mixer(int unit);
19 extern void unregister_sound_dsp(int unit);
20 #endif /* _LINUX_SOUND_H */