#include <linux/init.h>
#include <linux/export.h>
#include <linux/slab.h>
#include <linux/time.h>
#include <sound/core.h>
#include <sound/minors.h>
#include <sound/info.h>
#include <linux/sound.h>
#include <linux/mutex.h>
#define SNDRV_OSS_MINORS …
static struct snd_minor *snd_oss_minors[SNDRV_OSS_MINORS];
static DEFINE_MUTEX(sound_oss_mutex);
void *snd_lookup_oss_minor_data(unsigned int minor, int type)
{ … }
EXPORT_SYMBOL(…);
static int snd_oss_kernel_minor(int type, struct snd_card *card, int dev)
{ … }
int snd_register_oss_device(int type, struct snd_card *card, int dev,
const struct file_operations *f_ops, void *private_data)
{ … }
EXPORT_SYMBOL(…);
int snd_unregister_oss_device(int type, struct snd_card *card, int dev)
{ … }
EXPORT_SYMBOL(…);
#ifdef CONFIG_SND_PROC_FS
static const char *snd_oss_device_type_name(int type)
{ … }
static void snd_minor_info_oss_read(struct snd_info_entry *entry,
struct snd_info_buffer *buffer)
{ … }
int __init snd_minor_info_oss_init(void)
{ … }
#endif