ALSA: firewire-lib: include sound/asound.h to refer to snd_pcm_format_t
authorTakashi Sakamoto <o-takashi@sakamocchi.jp>
Tue, 19 Nov 2013 04:29:24 +0000 (13:29 +0900)
committerTakashi Iwai <tiwai@suse.de>
Tue, 19 Nov 2013 07:07:20 +0000 (08:07 +0100)
'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>
sound/firewire/amdtp.h

index 839ebf8..2746ecd 100644 (file)
@@ -4,6 +4,7 @@
 #include <linux/err.h>
 #include <linux/interrupt.h>
 #include <linux/mutex.h>
+#include <sound/asound.h>
 #include "packets-buffer.h"
 
 /**