[PATCH -next] staging: brcm80211 needs lots of delay.h

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



From: Randy Dunlap <randy.dunlap@xxxxxxxxxx>

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@xxxxxxxxxx>
Cc: Brett Rudley <brudley@xxxxxxxxxxxx>
Cc: Henry Ptasinski <henryp@xxxxxxxxxxxx>
Cc: Dowan Kim <dowan@xxxxxxxxxxxx>
Cc: Roland Vossen <rvossen@xxxxxxxxxxxx>
Cc: Arend van Spriel <arend@xxxxxxxxxxxx>
---
 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>
--
To unsubscribe from this list: send the line "unsubscribe linux-next" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux Kernel]     [Linux USB Development]     [Yosemite News]     [Linux SCSI]

  Powered by Linux