diff options
author | Takashi Sakamoto <o-takashi@sakamocchi.jp> | 2017-05-26 09:30:46 +0900 |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2017-05-26 08:38:14 +0200 |
commit | 2c4842d3b6b3cf6db0f21e487da7e9bd3aa23090 (patch) | |
tree | 43a861b3b2041b687ad38927ea79cb87eef76ccc /sound/core/pcm_lib.c | |
parent | 9027c4639ef1e3254779e3033f229133222445f7 (diff) |
ALSA: pcm: add local header file for snd-pcm module
Several files are used to construct PCM core module, a.k.a snd-pcm.
Although available APIs are described in 'include/sound/pcm.h', some of
them are not exported as symbols in kernel space. Such APIs are just for
module local usage.
This commit adds module local header file and move some function prototypes
into it so that scopes of them are controlled properly and developers
get no confusion from unavailable symbols.
Signed-off-by: Takashi Sakamoto <o-takashi@sakamocchi.jp>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'sound/core/pcm_lib.c')
-rw-r--r-- | sound/core/pcm_lib.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/sound/core/pcm_lib.c b/sound/core/pcm_lib.c index ab4b1d1e44ee..e50548af4004 100644 --- a/sound/core/pcm_lib.c +++ b/sound/core/pcm_lib.c @@ -33,6 +33,8 @@ #include <sound/pcm_params.h> #include <sound/timer.h> +#include "pcm_local.h" + #ifdef CONFIG_SND_PCM_XRUN_DEBUG #define CREATE_TRACE_POINTS #include "pcm_trace.h" |