Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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>

authored by

Takashi Sakamoto and committed by
Takashi Iwai
777fb574 2c312e9a

+1
+1
sound/firewire/amdtp.h
··· 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 /**