[PATCH -next] staging/intel_sst: include delay.h to fix build error

From: Randy Dunlap
Date: Mon Oct 11 2010 - 20:49:10 EST


From: Randy Dunlap <randy.dunlap@xxxxxxxxxx>

intel_sst_drv_interface.c uses msleep() so it needs to include delay.h:

drivers/staging/intel_sst/intel_sst_drv_interface.c:88: error: implicit declaration of function 'msleep'

Signed-off-by: Randy Dunlap <randy.dunlap@xxxxxxxxxx>
---
drivers/staging/intel_sst/intel_sst_drv_interface.c | 1 +
1 file changed, 1 insertion(+)

--- linux-next-20101008.orig/drivers/staging/intel_sst/intel_sst_drv_interface.c
+++ linux-next-20101008/drivers/staging/intel_sst/intel_sst_drv_interface.c
@@ -26,6 +26,7 @@
* Upper layer interfaces (MAD driver, MMF) to SST driver
*/

+#include <linux/delay.h>
#include <linux/pci.h>
#include <linux/fs.h>
#include <linux/firmware.h>
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/