aboutsummaryrefslogtreecommitdiffstats
path: root/sound/core/pcm_memory.c
diff options
context:
space:
mode:
authorTakashi Iwai <tiwai@suse.de>2019-11-17 11:05:12 +0100
committerTakashi Iwai <tiwai@suse.de>2019-11-20 19:39:54 +0100
commit0821fd77a1129cf4848d82d9275fb4e90e02edf8 (patch)
tree5399e23cc2b1c6d95d9d5b6156a3a2ebd4fe2662 /sound/core/pcm_memory.c
parentALSA: docs: Update document about the default PCM ioctl ops (diff)
downloadlinux-dev-0821fd77a1129cf4848d82d9275fb4e90e02edf8.tar.xz
linux-dev-0821fd77a1129cf4848d82d9275fb4e90e02edf8.zip
ALSA: pcm: Move PCM_RUNTIME_CHECK() macro into local header
It should be used only in the PCM core code locally. Link: https://lore.kernel.org/r/20191117085308.23915-6-tiwai@suse.de Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to '')
-rw-r--r--sound/core/pcm_memory.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/sound/core/pcm_memory.c b/sound/core/pcm_memory.c
index 73b770db2372..d4702cc1d376 100644
--- a/sound/core/pcm_memory.c
+++ b/sound/core/pcm_memory.c
@@ -15,6 +15,7 @@
#include <sound/pcm.h>
#include <sound/info.h>
#include <sound/initval.h>
+#include "pcm_local.h"
static int preallocate_dma = 1;
module_param(preallocate_dma, int, 0444);