* [RESEND for-2.6.40 PATCH] sst: fix compile error
@ 2011-04-08 0:41 Lu Guanqun
2011-04-08 0:47 ` Mark Brown
0 siblings, 1 reply; 2+ messages in thread
From: Lu Guanqun @ 2011-04-08 0:41 UTC (permalink / raw)
To: ALSA; +Cc: Takashi Iwai, Mark Brown, Liam Girdwood
Add several include files to fix the below compile error.
drivers/staging/intel_sst/intelmid.c: In function ‘snd_intelmad_sst_register’:
drivers/staging/intel_sst/intelmid.c:805:2: error: ‘sst_drv_ctx’ undeclared (first use in this function)
drivers/staging/intel_sst/intelmid.c:805:2: note: each undeclared identifier is reported only once for each function it appears in
Signed-off-by: Lu Guanqun <guanqun.lu@intel.com>
---
drivers/staging/intel_sst/intelmid.c | 3 +++
1 files changed, 3 insertions(+), 0 deletions(-)
diff --git a/drivers/staging/intel_sst/intelmid.c b/drivers/staging/intel_sst/intelmid.c
index 1fb39d4..4e4e4a9 100644
--- a/drivers/staging/intel_sst/intelmid.c
+++ b/drivers/staging/intel_sst/intelmid.c
@@ -32,6 +32,7 @@
#include <linux/platform_device.h>
#include <linux/interrupt.h>
#include <linux/sched.h>
+#include <linux/firmware.h>
#include <sound/control.h>
#include <asm/mrst.h>
#include <sound/pcm.h>
@@ -40,6 +41,8 @@
#include <sound/initval.h>
#include "intel_sst.h"
#include "intel_sst_ioctl.h"
+#include "intel_sst_fw_ipc.h"
+#include "intel_sst_common.h"
#include "intelmid_snd_control.h"
#include "intelmid.h"
_______________________________________________
Alsa-devel mailing list
Alsa-devel@alsa-project.org
http://mailman.alsa-project.org/mailman/listinfo/alsa-devel
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [RESEND for-2.6.40 PATCH] sst: fix compile error
2011-04-08 0:41 [RESEND for-2.6.40 PATCH] sst: fix compile error Lu Guanqun
@ 2011-04-08 0:47 ` Mark Brown
0 siblings, 0 replies; 2+ messages in thread
From: Mark Brown @ 2011-04-08 0:47 UTC (permalink / raw)
To: Lu Guanqun; +Cc: Takashi Iwai, ALSA, Liam Girdwood
On Fri, Apr 08, 2011 at 08:41:38AM +0800, Lu Guanqun wrote:
> Add several include files to fix the below compile error.
>
> drivers/staging/intel_sst/intelmid.c: In function ‘snd_intelmad_sst_register’:
> drivers/staging/intel_sst/intelmid.c:805:2: error: ‘sst_drv_ctx’ undeclared (first use in this function)
> drivers/staging/intel_sst/intelmid.c:805:2: note: each undeclared identifier is reported only once for each function it appears in
Applied, thanks.
_______________________________________________
Alsa-devel mailing list
Alsa-devel@alsa-project.org
http://mailman.alsa-project.org/mailman/listinfo/alsa-devel
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2011-04-08 0:47 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-04-08 0:41 [RESEND for-2.6.40 PATCH] sst: fix compile error Lu Guanqun
2011-04-08 0:47 ` Mark Brown
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.