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