summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorMartin Waitz2005-09-09 22:10:17 +0200
committerLinus Torvalds2005-09-09 23:03:43 +0200
commit9d01a82e46a8dd18233121a6bc140e5576649583 (patch)
treeb71ce1a2fb70d8d2cc53b07dab08709b1c72f113 /include
parent[PATCH] update kfree, vfree, and vunmap kerneldoc (diff)
downloadkernel-qcow2-linux-9d01a82e46a8dd18233121a6bc140e5576649583.tar.gz
kernel-qcow2-linux-9d01a82e46a8dd18233121a6bc140e5576649583.tar.xz
kernel-qcow2-linux-9d01a82e46a8dd18233121a6bc140e5576649583.zip
[PATCH] DocBook: fix kernel-api documentation generation
This patch changes a macro definition so that kernel-doc can understand it. Signed-off-by: Martin Waitz <tali@admingilde.org> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'include')
-rw-r--r--include/sound/pcm.h5
1 files changed, 2 insertions, 3 deletions
diff --git a/include/sound/pcm.h b/include/sound/pcm.h
index 389e8ebe9c19..d6361dab0370 100644
--- a/include/sound/pcm.h
+++ b/include/sound/pcm.h
@@ -910,11 +910,10 @@ int snd_pcm_format_big_endian(snd_pcm_format_t format);
* Returns 1 if the given PCM format is CPU-endian, 0 if
* opposite, or a negative error code if endian not specified.
*/
-/* int snd_pcm_format_cpu_endian(snd_pcm_format_t format); */
#ifdef SNDRV_LITTLE_ENDIAN
-#define snd_pcm_format_cpu_endian snd_pcm_format_little_endian
+#define snd_pcm_format_cpu_endian(format) snd_pcm_format_little_endian(format)
#else
-#define snd_pcm_format_cpu_endian snd_pcm_format_big_endian
+#define snd_pcm_format_cpu_endian(format) snd_pcm_format_big_endian(format)
#endif
int snd_pcm_format_width(snd_pcm_format_t format); /* in bits */
int snd_pcm_format_physical_width(snd_pcm_format_t format); /* in bits */