]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/blame - include/linux/sound.h
8021q: fix a potential memory leak
[mirror_ubuntu-bionic-kernel.git] / include / linux / sound.h
CommitLineData
6682bb86
DH
1#ifndef _LINUX_SOUND_H
2#define _LINUX_SOUND_H
1da177e4 3
607ca46e 4#include <uapi/linux/sound.h>
1da177e4 5
1da177e4
LT
6/*
7 * Sound core interface functions
8 */
9
d568121c 10struct device;
99ac48f5
AV
11extern int register_sound_special(const struct file_operations *fops, int unit);
12extern int register_sound_special_device(const struct file_operations *fops, int unit, struct device *dev);
13extern int register_sound_mixer(const struct file_operations *fops, int dev);
14extern int register_sound_midi(const struct file_operations *fops, int dev);
15extern int register_sound_dsp(const struct file_operations *fops, int dev);
1da177e4
LT
16
17extern void unregister_sound_special(int unit);
18extern void unregister_sound_mixer(int unit);
19extern void unregister_sound_midi(int unit);
20extern void unregister_sound_dsp(int unit);
6682bb86 21#endif /* _LINUX_SOUND_H */