Subject: [PATCH -next] staging/intel_sst: intelmid needs delay.h

From: Randy Dunlap <[email-masked]>
Date: Tue, 19 Apr 2011 11:26:35 -0700

From: Randy Dunlap <[email-masked]>

intel_sst drivers need to #include <linux/delay.h> so that
they build cleanly:

drivers/staging/intel_sst/intelmid_v1_control.c:188: error: implicit declaration of function 'msleep'
drivers/staging/intel_sst/intelmid_v2_control.c:172: error: implicit declaration of function 'msleep'

Signed-off-by: Randy Dunlap <[email-masked]>
Cc: Vinod Koul <[email-masked]>
Cc: Harsha Priya <[email-masked]>
Cc: KP Jeeja <[email-masked]>
Cc: Dharageswari R <[email-masked]>
---
 drivers/staging/intel_sst/intelmid_v1_control.c |    1 +
 drivers/staging/intel_sst/intelmid_v2_control.c |    1 +
 2 files changed, 2 insertions(+)

--- linux-next-20110419.orig/drivers/staging/intel_sst/intelmid_v1_control.c
+++ linux-next-20110419/drivers/staging/intel_sst/intelmid_v1_control.c
@@ -28,6 +28,7 @@
 #define pr_fmt(fmt) KBUILD_MODNAME ": " fmt
 
 #include <linux/pci.h>
+#include <linux/delay.h>
 #include <linux/file.h>
 #include <asm/mrst.h>
 #include <sound/pcm.h>
--- linux-next-20110419.orig/drivers/staging/intel_sst/intelmid_v2_control.c
+++ linux-next-20110419/drivers/staging/intel_sst/intelmid_v2_control.c
@@ -29,6 +29,7 @@
 #define pr_fmt(fmt) KBUILD_MODNAME ": " fmt
 
 #include <linux/pci.h>
+#include <linux/delay.h>
 #include <linux/file.h>
 #include "intel_sst.h"
 #include "intelmid_snd_control.h"