summaryrefslogtreecommitdiff
path: root/sound/core/seq/seq_memory.h
diff options
context:
space:
mode:
authorClemens Ladisch <clemens@ladisch.de>2011-02-14 13:00:47 +0300
committerTakashi Iwai <tiwai@suse.de>2011-02-14 19:10:11 +0300
commitfea952e5cc23ea94b4677ca20774cdc3cea014e2 (patch)
tree0a5fac1e830e7f5eba9d52431088b1481c86eeb8 /sound/core/seq/seq_memory.h
parent88b27fdac814c4926175ff0e740f98343ad77491 (diff)
downloadlinux-fea952e5cc23ea94b4677ca20774cdc3cea014e2.tar.xz
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