ALSA: fix pcm.h kernel-doc warning and notation
authorRandy Dunlap <rdunlap@xenotime.net>
Sun, 19 Aug 2012 00:43:05 +0000 (17:43 -0700)
committerTakashi Iwai <tiwai@suse.de>
Mon, 20 Aug 2012 08:26:47 +0000 (10:26 +0200)
Fix kernel-doc warning in <sound/pcm.h> and add function name to make
the kernel-doc notation complete.

Warning(include/sound/pcm.h:1081): No description found for parameter 'substream'

Signed-off-by: Randy Dunlap <rdunlap@xenotime.net>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
include/sound/pcm.h

index c75c0d1a85e2acabb2e30d43ba1e6150f1268c6a..cdca2ab1e7112f8e79156f39f318d5f3e4405cbd 100644 (file)
@@ -1075,7 +1075,8 @@ static inline void snd_pcm_limit_isa_dma_size(int dma, size_t *max)
 const char *snd_pcm_format_name(snd_pcm_format_t format);
 
 /**
- * Get a string naming the direction of a stream
+ * snd_pcm_stream_str - Get a string naming the direction of a stream
+ * @substream: the pcm substream instance
  */
 static inline const char *snd_pcm_stream_str(struct snd_pcm_substream *substream)
 {