Skip to content

Commit

Permalink
[PATCH] DocBook: fix kernel-api documentation generation
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Martin Waitz authored and Linus Torvalds committed Sep 9, 2005
1 parent 80e93ef commit 9d01a82
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions include/sound/pcm.h
Original file line number Diff line number Diff line change
Expand Up @@ -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 */
Expand Down

0 comments on commit 9d01a82

Please sign in to comment.