public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH] DocBook: fix kernel-api documentation generation
@ 2005-08-25  8:09 Martin Waitz
  0 siblings, 0 replies; only message in thread
From: Martin Waitz @ 2005-08-25  8:09 UTC (permalink / raw)
  To: Linus Torvalds, Andrew Morton; +Cc: linux-kernel

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>
---
 include/sound/pcm.h |    5 ++---
 1 files changed, 2 insertions(+), 3 deletions(-)

Index: linux-docbook/include/sound/pcm.h
===================================================================
--- linux-docbook.orig/include/sound/pcm.h	2005-07-29 12:46:13.000000000 +0200
+++ linux-docbook/include/sound/pcm.h	2005-08-12 11:10:20.000000000 +0200
@@ -911,11 +911,10 @@ int snd_pcm_format_big_endian(snd_pcm_fo
  * 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 */

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2005-08-25  8:09 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-08-25  8:09 [PATCH] DocBook: fix kernel-api documentation generation Martin Waitz

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox