summaryrefslogtreecommitdiffstats
path: root/sound/core/pcm.c
diff options
context:
space:
mode:
authorTakashi Sakamoto <o-takashi@sakamocchi.jp>2017-05-26 09:30:46 +0900
committerTakashi Iwai <tiwai@suse.de>2017-05-26 08:38:14 +0200
commit2c4842d3b6b3cf6db0f21e487da7e9bd3aa23090 (patch)
tree43a861b3b2041b687ad38927ea79cb87eef76ccc /sound/core/pcm.c
parent9027c4639ef1e3254779e3033f229133222445f7 (diff)
downloadblackbird-op-linux-2c4842d3b6b3cf6db0f21e487da7e9bd3aa23090.tar.gz
blackbird-op-linux-2c4842d3b6b3cf6db0f21e487da7e9bd3aa23090.zip
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.c')
-rw-r--r--sound/core/pcm.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/sound/core/pcm.c b/sound/core/pcm.c
index d30dba0ee688..4b3290447398 100644
--- a/sound/core/pcm.c
+++ b/sound/core/pcm.c
@@ -31,6 +31,8 @@
#include <sound/control.h>
#include <sound/info.h>
+#include "pcm_local.h"
+
MODULE_AUTHOR("Jaroslav Kysela <perex@perex.cz>, Abramo Bagnara <abramo@alsa-project.org>");
MODULE_DESCRIPTION("Midlevel PCM code for ALSA.");
MODULE_LICENSE("GPL");
OpenPOWER on IntegriCloud