From: Randy Dunlap <randy.dunlap@oracle•com>
To: Stephen Rothwell <sfr@canb•auug.org.au>,
gregkh@suse•de, driverdevel <devel@driverdev•osuosl.org>
Cc: Dowan Kim <dowan@broadcom•com>,
LKML <linux-kernel@vger•kernel.org>,
linux-next@vger•kernel.org, akpm <akpm@linux-foundation•org>
Subject: [PATCH -next] staging: brcm80211 needs lots of delay.h
Date: Wed, 1 Dec 2010 11:16:35 -0800 [thread overview]
Message-ID: <20101201111635.3c92ff0f.randy.dunlap@oracle.com> (raw)
In-Reply-To: <20101201133354.a7c198b1.sfr@canb.auug.org.au>
From: Randy Dunlap <randy.dunlap@oracle•com>
Fix lots of errors like:
drivers/staging/brcm80211/phy/wlc_phy_n.c:17613: error: implicit declaration of function 'mdelay'
drivers/staging/brcm80211/util/nicpci.c:246: error: implicit declaration of function 'udelay'
Signed-off-by: Randy Dunlap <randy.dunlap@oracle•com>
Cc: Brett Rudley <brudley@broadcom•com>
Cc: Henry Ptasinski <henryp@broadcom•com>
Cc: Dowan Kim <dowan@broadcom•com>
Cc: Roland Vossen <rvossen@broadcom•com>
Cc: Arend van Spriel <arend@broadcom•com>
---
drivers/staging/brcm80211/phy/wlc_phy_cmn.c | 1 +
drivers/staging/brcm80211/phy/wlc_phy_lcn.c | 1 +
drivers/staging/brcm80211/phy/wlc_phy_n.c | 1 +
drivers/staging/brcm80211/util/aiutils.c | 1 +
drivers/staging/brcm80211/util/bcmotp.c | 1 +
drivers/staging/brcm80211/util/hndpmu.c | 1 +
drivers/staging/brcm80211/util/nicpci.c | 1 +
drivers/staging/brcm80211/util/siutils.c | 1 +
8 files changed, 8 insertions(+)
--- linux-next-20101201.orig/drivers/staging/brcm80211/phy/wlc_phy_n.c
+++ linux-next-20101201/drivers/staging/brcm80211/phy/wlc_phy_n.c
@@ -18,6 +18,7 @@
#include <linux/string.h>
#include <bcmdefs.h>
#include <wlc_cfg.h>
+#include <linux/delay.h>
#include <linux/pci.h>
#include <osl.h>
#include <siutils.h>
--- linux-next-20101201.orig/drivers/staging/brcm80211/util/nicpci.c
+++ linux-next-20101201/drivers/staging/brcm80211/util/nicpci.c
@@ -14,6 +14,7 @@
* CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
*/
+#include <linux/delay.h>
#include <linux/string.h>
#include <linux/pci.h>
#include <bcmdefs.h>
--- linux-next-20101201.orig/drivers/staging/brcm80211/util/siutils.c
+++ linux-next-20101201/drivers/staging/brcm80211/util/siutils.c
@@ -14,6 +14,7 @@
* CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
*/
+#include <linux/delay.h>
#include <linux/kernel.h>
#include <linux/string.h>
#include <bcmdefs.h>
--- linux-next-20101201.orig/drivers/staging/brcm80211/util/aiutils.c
+++ linux-next-20101201/drivers/staging/brcm80211/util/aiutils.c
@@ -14,6 +14,7 @@
* CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
*/
+#include <linux/delay.h>
#include <linux/kernel.h>
#include <linux/string.h>
#include <bcmdefs.h>
--- linux-next-20101201.orig/drivers/staging/brcm80211/util/bcmotp.c
+++ linux-next-20101201/drivers/staging/brcm80211/util/bcmotp.c
@@ -14,6 +14,7 @@
* CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
*/
+#include <linux/delay.h>
#include <linux/kernel.h>
#include <linux/string.h>
#include <bcmdefs.h>
--- linux-next-20101201.orig/drivers/staging/brcm80211/util/hndpmu.c
+++ linux-next-20101201/drivers/staging/brcm80211/util/hndpmu.c
@@ -13,6 +13,7 @@
* OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN
* CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
*/
+#include <linux/delay.h>
#include <linux/kernel.h>
#include <linux/string.h>
#include <linux/module.h>
--- linux-next-20101201.orig/drivers/staging/brcm80211/phy/wlc_phy_cmn.c
+++ linux-next-20101201/drivers/staging/brcm80211/phy/wlc_phy_cmn.c
@@ -20,6 +20,7 @@
#include <linux/string.h>
#include <bcmdefs.h>
#include <osl.h>
+#include <linux/delay.h>
#include <linux/module.h>
#include <linux/pci.h>
#include <bcmendian.h>
--- linux-next-20101201.orig/drivers/staging/brcm80211/phy/wlc_phy_lcn.c
+++ linux-next-20101201/drivers/staging/brcm80211/phy/wlc_phy_lcn.c
@@ -17,6 +17,7 @@
#include <linux/kernel.h>
#include <linux/string.h>
#include <linux/bitops.h>
+#include <linux/delay.h>
#include <wlc_cfg.h>
#include <qmath.h>
#include <osl.h>
prev parent reply other threads:[~2010-12-01 19:16 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-12-01 2:33 linux-next: Tree for December 1 Stephen Rothwell
2010-12-01 16:04 ` Zimny Lech
2010-12-01 20:23 ` Randy Dunlap
2010-12-01 22:18 ` Zimny Lech
2010-12-01 22:58 ` linux-next: Tree for December 1 (kconfig question) Randy Dunlap
2010-12-01 19:16 ` 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=20101201111635.3c92ff0f.randy.dunlap@oracle.com \
--to=randy.dunlap@oracle$(echo .)com \
--cc=akpm@linux-foundation$(echo .)org \
--cc=devel@driverdev$(echo .)osuosl.org \
--cc=dowan@broadcom$(echo .)com \
--cc=gregkh@suse$(echo .)de \
--cc=linux-kernel@vger$(echo .)kernel.org \
--cc=linux-next@vger$(echo .)kernel.org \
--cc=sfr@canb$(echo .)auug.org.au \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
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