public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Randy Dunlap <randy.dunlap@oracle.com>
To: Greg KH <greg@kroah.com>
Cc: Stephen Rothwell <sfr@canb.auug.org.au>,
	driverdevel <devel@driverdev.osuosl.org>,
	linux-next@vger.kernel.org, LKML <linux-kernel@vger.kernel.org>,
	Vinod Koul <vinod.koul@intel.com>,
	Harsha Priya <priya.harsha@intel.com>,
	Dharageswari R <dharageswari.r@intel.com>
Subject: [PATCH -next] staging/intel_sst: include delay.h to fix build error
Date: Mon, 11 Oct 2010 17:47:04 -0700	[thread overview]
Message-ID: <4CB3B008.9080800@oracle.com> (raw)
In-Reply-To: <20101010202921.GB4900@kroah.com>

From: Randy Dunlap <randy.dunlap@oracle.com>

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@oracle.com>
---
 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>

  reply	other threads:[~2010-10-12  0:49 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-10-08  5:15 linux-next: Tree for October 8 Stephen Rothwell
2010-10-10 18:56 ` linux-next: Tree for October 8 (staging/intel_sst) Randy Dunlap
2010-10-10 20:29   ` Greg KH
2010-10-12  0:47     ` Randy Dunlap [this message]
2010-10-10 18:58 ` linux-next: Tree for October 8 (staging/brcm80211) Randy Dunlap
2010-10-10 20:29   ` Greg KH
2010-10-11  4:08     ` Randy Dunlap

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=4CB3B008.9080800@oracle.com \
    --to=randy.dunlap@oracle.com \
    --cc=devel@driverdev.osuosl.org \
    --cc=dharageswari.r@intel.com \
    --cc=greg@kroah.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