ALSA: firewire-lib: include sound/asound.h to refer to snd_pcm_format_t
Linux-MTD Mailing List
linux-mtd at lists.infradead.org
Fri Nov 22 17:59:11 EST 2013
Gitweb: http://git.infradead.org/?p=mtd-2.6.git;a=commit;h=777fb574a5f53fcf071b588f46756b672d9d883c
Commit: 777fb574a5f53fcf071b588f46756b672d9d883c
Parent: 2c312e9af717f304fb45e7a3d827822eda6aa855
Author: Takashi Sakamoto <o-takashi at sakamocchi.jp>
AuthorDate: Tue Nov 19 13:29:24 2013 +0900
Committer: Takashi Iwai <tiwai at suse.de>
CommitDate: Tue Nov 19 08:07:20 2013 +0100
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 at sakamocchi.jp>
Signed-off-by: Takashi Iwai <tiwai at suse.de>
---
sound/firewire/amdtp.h | 1 +
1 file changed, 1 insertion(+)
diff --git a/sound/firewire/amdtp.h b/sound/firewire/amdtp.h
index 839ebf8..2746ecd 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"
/**
More information about the linux-mtd-cvs
mailing list