summaryrefslogtreecommitdiffstats
path: root/sound/core/seq/seq_memory.h
diff options
context:
space:
mode:
authorClemens Ladisch2011-02-14 11:00:47 +0100
committerTakashi Iwai2011-02-14 17:10:11 +0100
commitfea952e5cc23ea94b4677ca20774cdc3cea014e2 (patch)
tree0a5fac1e830e7f5eba9d52431088b1481c86eeb8 /sound/core/seq/seq_memory.h
parentALSA: asihpi - HPI v4.06 (diff)
downloadkernel-qcow2-linux-fea952e5cc23ea94b4677ca20774cdc3cea014e2.tar.gz
kernel-qcow2-linux-fea952e5cc23ea94b4677ca20774cdc3cea014e2.tar.xz
kernel-qcow2-linux-fea952e5cc23ea94b4677ca20774cdc3cea014e2.zip
ALSA: core: sparse cleanups
Change the core code where sparse complains. In most cases, this means just adding annotations to confirm that we indeed want to do the dirty things we're doing. Signed-off-by: Clemens Ladisch <clemens@ladisch.de> Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'sound/core/seq/seq_memory.h')
-rw-r--r--sound/core/seq/seq_memory.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/sound/core/seq/seq_memory.h b/sound/core/seq/seq_memory.h
index 63e91431a29f..4a2ec779b8a7 100644
--- a/sound/core/seq/seq_memory.h
+++ b/sound/core/seq/seq_memory.h
@@ -24,6 +24,8 @@
#include <sound/seq_kernel.h>
#include <linux/poll.h>
+struct snd_info_buffer;
+
/* container for sequencer event (internal use) */
struct snd_seq_event_cell {
struct snd_seq_event event;
@@ -99,5 +101,7 @@ void snd_sequencer_memory_done(void);
/* polling */
int snd_seq_pool_poll_wait(struct snd_seq_pool *pool, struct file *file, poll_table *wait);
+void snd_seq_info_pool(struct snd_info_buffer *buffer,
+ struct snd_seq_pool *pool, char *space);
#endif