diff options
-rw-r--r-- | include/sound/pcm.h | 1 | ||||
-rw-r--r-- | sound/core/pcm.c | 2 |
2 files changed, 1 insertions, 2 deletions
diff --git a/include/sound/pcm.h b/include/sound/pcm.h index e9ab45556afa..df70e7592ab5 100644 --- a/include/sound/pcm.h +++ b/include/sound/pcm.h | |||
@@ -898,7 +898,6 @@ ssize_t snd_pcm_format_size(snd_pcm_format_t format, size_t samples); | |||
898 | const unsigned char *snd_pcm_format_silence_64(snd_pcm_format_t format); | 898 | const unsigned char *snd_pcm_format_silence_64(snd_pcm_format_t format); |
899 | int snd_pcm_format_set_silence(snd_pcm_format_t format, void *buf, unsigned int frames); | 899 | int snd_pcm_format_set_silence(snd_pcm_format_t format, void *buf, unsigned int frames); |
900 | snd_pcm_format_t snd_pcm_build_linear_format(int width, int unsignd, int big_endian); | 900 | snd_pcm_format_t snd_pcm_build_linear_format(int width, int unsignd, int big_endian); |
901 | const char *snd_pcm_format_name(snd_pcm_format_t format); | ||
902 | 901 | ||
903 | void snd_pcm_set_ops(struct snd_pcm * pcm, int direction, struct snd_pcm_ops *ops); | 902 | void snd_pcm_set_ops(struct snd_pcm * pcm, int direction, struct snd_pcm_ops *ops); |
904 | void snd_pcm_set_sync(struct snd_pcm_substream *substream); | 903 | void snd_pcm_set_sync(struct snd_pcm_substream *substream); |
diff --git a/sound/core/pcm.c b/sound/core/pcm.c index 5d7eb123b999..122e10a61ab9 100644 --- a/sound/core/pcm.c +++ b/sound/core/pcm.c | |||
@@ -196,7 +196,7 @@ static char *snd_pcm_format_names[] = { | |||
196 | FORMAT(U18_3BE), | 196 | FORMAT(U18_3BE), |
197 | }; | 197 | }; |
198 | 198 | ||
199 | const char *snd_pcm_format_name(snd_pcm_format_t format) | 199 | static const char *snd_pcm_format_name(snd_pcm_format_t format) |
200 | { | 200 | { |
201 | return snd_pcm_format_names[format]; | 201 | return snd_pcm_format_names[format]; |
202 | } | 202 | } |