diff options
Diffstat (limited to 'include/sound')
-rw-r--r-- | include/sound/pcm.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/include/sound/pcm.h b/include/sound/pcm.h index 7a7f7287288c..2b23a5967071 100644 --- a/include/sound/pcm.h +++ b/include/sound/pcm.h | |||
@@ -903,7 +903,8 @@ int snd_pcm_format_unsigned(snd_pcm_format_t format); | |||
903 | int snd_pcm_format_linear(snd_pcm_format_t format); | 903 | int snd_pcm_format_linear(snd_pcm_format_t format); |
904 | int snd_pcm_format_little_endian(snd_pcm_format_t format); | 904 | int snd_pcm_format_little_endian(snd_pcm_format_t format); |
905 | int snd_pcm_format_big_endian(snd_pcm_format_t format); | 905 | int snd_pcm_format_big_endian(snd_pcm_format_t format); |
906 | /* | 906 | #if 0 /* just for DocBook */ |
907 | /** | ||
907 | * snd_pcm_format_cpu_endian - Check the PCM format is CPU-endian | 908 | * snd_pcm_format_cpu_endian - Check the PCM format is CPU-endian |
908 | * @format: the format to check | 909 | * @format: the format to check |
909 | * | 910 | * |
@@ -911,6 +912,7 @@ int snd_pcm_format_big_endian(snd_pcm_format_t format); | |||
911 | * opposite, or a negative error code if endian not specified. | 912 | * opposite, or a negative error code if endian not specified. |
912 | */ | 913 | */ |
913 | int snd_pcm_format_cpu_endian(snd_pcm_format_t format); | 914 | int snd_pcm_format_cpu_endian(snd_pcm_format_t format); |
915 | #endif /* DocBook */ | ||
914 | #ifdef SNDRV_LITTLE_ENDIAN | 916 | #ifdef SNDRV_LITTLE_ENDIAN |
915 | #define snd_pcm_format_cpu_endian(format) snd_pcm_format_little_endian(format) | 917 | #define snd_pcm_format_cpu_endian(format) snd_pcm_format_little_endian(format) |
916 | #else | 918 | #else |