Commit 9d01a82e authored by Martin Waitz's avatar Martin Waitz Committed by Linus Torvalds

[PATCH] DocBook: fix kernel-api documentation generation

This patch changes a macro definition so that kernel-doc can understand it.
Signed-off-by: default avatarMartin Waitz <tali@admingilde.org>
Signed-off-by: default avatarAndrew Morton <akpm@osdl.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@osdl.org>
parent 80e93eff
...@@ -910,11 +910,10 @@ int snd_pcm_format_big_endian(snd_pcm_format_t format); ...@@ -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 * Returns 1 if the given PCM format is CPU-endian, 0 if
* opposite, or a negative error code if endian not specified. * 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 #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 #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 #endif
int snd_pcm_format_width(snd_pcm_format_t format); /* in bits */ 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 */ int snd_pcm_format_physical_width(snd_pcm_format_t format); /* in bits */
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment