[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20110419112635.d2ba71f3.randy.dunlap@oracle.com>
Date: Tue, 19 Apr 2011 11:26:35 -0700
From: Randy Dunlap <randy.dunlap@...cle.com>
To: Stephen Rothwell <sfr@...b.auug.org.au>, gregkh <greg@...ah.com>,
driverdevel <devel@...verdev.osuosl.org>
Cc: linux-next@...r.kernel.org, LKML <linux-kernel@...r.kernel.org>,
Vinod Koul <vinod.koul@...el.com>,
Harsha Priya <priya.harsha@...el.com>,
KP Jeeja <jeeja.kp@...el.com>,
Dharageswari R <dharageswari.r@...el.com>
Subject: [PATCH -next] staging/intel_sst: intelmid needs delay.h
From: Randy Dunlap <randy.dunlap@...cle.com>
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 <randy.dunlap@...cle.com>
Cc: Vinod Koul <vinod.koul@...el.com>
Cc: Harsha Priya <priya.harsha@...el.com>
Cc: KP Jeeja <jeeja.kp@...el.com>
Cc: Dharageswari R <dharageswari.r@...el.com>
---
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"
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists