From: Randy Dunlap <randy.dunlap@oracle.com>
To: Stephen Rothwell <sfr@canb.auug.org.au>, gregkh <greg@kroah.com>,
driverdevel <devel@driverdev.osuosl.org>
Cc: linux-next@vger.kernel.org, LKML <linux-kernel@vger.kernel.org>,
Vinod Koul <vinod.koul@intel.com>,
Harsha Priya <priya.harsha@intel.com>,
KP Jeeja <jeeja.kp@intel.com>,
Dharageswari R <dharageswari.r@intel.com>
Subject: [PATCH -next] staging/intel_sst: intelmid needs delay.h
Date: Tue, 19 Apr 2011 11:26:35 -0700 [thread overview]
Message-ID: <20110419112635.d2ba71f3.randy.dunlap@oracle.com> (raw)
In-Reply-To: <20110419150641.644638d5.sfr@canb.auug.org.au>
From: Randy Dunlap <randy.dunlap@oracle.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@oracle.com>
Cc: Vinod Koul <vinod.koul@intel.com>
Cc: Harsha Priya <priya.harsha@intel.com>
Cc: KP Jeeja <jeeja.kp@intel.com>
Cc: Dharageswari R <dharageswari.r@intel.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"
prev parent reply other threads:[~2011-04-19 18:27 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-04-19 5:06 linux-next: Tree for April 19 Stephen Rothwell
2011-04-19 15:35 ` [PATCH -next] driver core: syscore exports for modular APM Randy Dunlap
2011-04-19 21:17 ` Greg KH
2011-04-19 22:04 ` Rafael J. Wysocki
2011-04-20 20:39 ` Rafael J. Wysocki
2011-04-19 18:26 ` Randy Dunlap [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20110419112635.d2ba71f3.randy.dunlap@oracle.com \
--to=randy.dunlap@oracle.com \
--cc=devel@driverdev.osuosl.org \
--cc=dharageswari.r@intel.com \
--cc=greg@kroah.com \
--cc=jeeja.kp@intel.com \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-next@vger.kernel.org \
--cc=priya.harsha@intel.com \
--cc=sfr@canb.auug.org.au \
--cc=vinod.koul@intel.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox