summaryrefslogtreecommitdiffstats
path: root/include/sound/pcm_params.h
diff options
context:
space:
mode:
authorMark Brown <broonie@opensource.wolfsonmicro.com>2012-06-19 20:31:48 +0200
committerTakashi Iwai <tiwai@suse.de>2012-06-20 12:00:59 +0200
commitf3761c3950bd2ad813095a240d6a3dcb885d2431 (patch)
treee733d73ada32846134004f6402ab55ab3e215ee7 /include/sound/pcm_params.h
parentsound: Remove unused include/linux/ac97_codec.h header (diff)
downloadlinux-f3761c3950bd2ad813095a240d6a3dcb885d2431.tar.xz
linux-f3761c3950bd2ad813095a240d6a3dcb885d2431.zip
ALSA: Add missing include of pcm.h to pcm_params.h
There's a dependency but no #include. Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com> Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'include/sound/pcm_params.h')
-rw-r--r--include/sound/pcm_params.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/sound/pcm_params.h b/include/sound/pcm_params.h
index f494f1e3c900..37ae12e0ab06 100644
--- a/include/sound/pcm_params.h
+++ b/include/sound/pcm_params.h
@@ -22,6 +22,8 @@
*
*/
+#include <sound/pcm.h>
+
int snd_pcm_hw_param_first(struct snd_pcm_substream *pcm,
struct snd_pcm_hw_params *params,
snd_pcm_hw_param_t var, int *dir);