Commit 777fb574a5f53fcf071b588f46756b672d9d883c

Authored by Takashi Sakamoto
Committed by Takashi Iwai
1 parent 2c312e9af7

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>

Showing 1 changed file with 1 additions and 0 deletions Side-by-side Diff

sound/firewire/amdtp.h
... ... @@ -4,6 +4,7 @@
4 4 #include <linux/err.h>
5 5 #include <linux/interrupt.h>
6 6 #include <linux/mutex.h>
  7 +#include <sound/asound.h>
7 8 #include "packets-buffer.h"
8 9  
9 10 /**