summaryrefslogtreecommitdiffstats
path: root/sound/firewire/amdtp.h
diff options
context:
space:
mode:
authorTakashi Sakamoto <o-takashi@sakamocchi.jp>2013-11-19 05:29:24 +0100
committerTakashi Iwai <tiwai@suse.de>2013-11-19 08:07:20 +0100
commit777fb574a5f53fcf071b588f46756b672d9d883c (patch)
treebc85b3b0ba9b30b762264f830a83e99835bd845e /sound/firewire/amdtp.h
parentALSA: hda - Select FW_LOADER from CONFIG_SND_HDA_CODEC_CA0132_DSP (diff)
downloadlinux-777fb574a5f53fcf071b588f46756b672d9d883c.tar.xz
linux-777fb574a5f53fcf071b588f46756b672d9d883c.zip
ALSA: firewire-lib: include sound/asound.h to refer to snd_pcm_format_t
'snd_pcm_format_t' is used by amdtp_out_stream_set_pcm_format(). Currently, when just including amdtp.h, compiler cannot find this type because this type is defined in uapi/sound/asound.h and this header is not included by amdtp.h. Signed-off-by: Takashi Sakamoto <o-takashi@sakamocchi.jp> Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'sound/firewire/amdtp.h')
-rw-r--r--sound/firewire/amdtp.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/sound/firewire/amdtp.h b/sound/firewire/amdtp.h
index 839ebf812d79..2746ecd291af 100644
--- a/sound/firewire/amdtp.h
+++ b/sound/firewire/amdtp.h
@@ -4,6 +4,7 @@
#include <linux/err.h>
#include <linux/interrupt.h>
#include <linux/mutex.h>
+#include <sound/asound.h>
#include "packets-buffer.h"
/**