1*b2441318SGreg Kroah-Hartman /* SPDX-License-Identifier: GPL-2.0 */ 26682bb86SDavid Howells #ifndef _LINUX_SOUND_H 36682bb86SDavid Howells #define _LINUX_SOUND_H 41da177e4SLinus Torvalds 5607ca46eSDavid Howells #include <uapi/linux/sound.h> 61da177e4SLinus Torvalds 71da177e4SLinus Torvalds /* 81da177e4SLinus Torvalds * Sound core interface functions 91da177e4SLinus Torvalds */ 101da177e4SLinus Torvalds 11d568121cSTakashi Iwai struct device; 1299ac48f5SArjan van de Ven extern int register_sound_special(const struct file_operations *fops, int unit); 1399ac48f5SArjan van de Ven extern int register_sound_special_device(const struct file_operations *fops, int unit, struct device *dev); 1499ac48f5SArjan van de Ven extern int register_sound_mixer(const struct file_operations *fops, int dev); 1599ac48f5SArjan van de Ven extern int register_sound_dsp(const struct file_operations *fops, int dev); 161da177e4SLinus Torvalds 171da177e4SLinus Torvalds extern void unregister_sound_special(int unit); 181da177e4SLinus Torvalds extern void unregister_sound_mixer(int unit); 191da177e4SLinus Torvalds extern void unregister_sound_dsp(int unit); 206682bb86SDavid Howells #endif /* _LINUX_SOUND_H */ 21