// SPDX-License-Identifier: GPL-2.0-or-later /* * Copyright (c) by Jaroslav Kysela <[email protected]> * GUS's memory access via proc filesystem */ #include <linux/slab.h> #include <sound/core.h> #include <sound/gus.h> #include <sound/info.h> struct gus_proc_private { … }; static ssize_t snd_gf1_mem_proc_dump(struct snd_info_entry *entry, void *file_private_data, struct file *file, char __user *buf, size_t count, loff_t pos) { … } static void snd_gf1_mem_proc_free(struct snd_info_entry *entry) { … } static const struct snd_info_entry_ops snd_gf1_mem_proc_ops = …; int snd_gf1_mem_proc_init(struct snd_gus_card * gus) { … }