Skip to content

Commit

Permalink
staging: brcm80211: Move #include from bcmutils.h out to .c files
Browse files Browse the repository at this point in the history
Part of effort to move #includes out of .h files and unwind the include mess.

Signed-off-by: Brett Rudley <brudley@broadcom.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
  • Loading branch information
Brett Rudley authored and Greg Kroah-Hartman committed Nov 9, 2010
1 parent c6ac24e commit 7f7c3db
Show file tree
Hide file tree
Showing 9 changed files with 8 additions and 4 deletions.
2 changes: 1 addition & 1 deletion drivers/staging/brcm80211/brcmfmac/bcmsdh.c
Original file line number Diff line number Diff line change
Expand Up @@ -20,10 +20,10 @@
#include <bcmdefs.h>
#include <bcmdevs.h>
#include <bcmendian.h>
#include <osl.h>
#include <bcmutils.h>
#include <hndsoc.h>
#include <siutils.h>
#include <osl.h>

#include <bcmsdh.h> /* BRCM API for SDIO
clients (such as wl, dhd) */
Expand Down
2 changes: 1 addition & 1 deletion drivers/staging/brcm80211/brcmfmac/bcmsdh_sdmmc.c
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,8 @@
#include <bcmdefs.h>
#include <bcmdevs.h>
#include <bcmendian.h>
#include <bcmutils.h>
#include <osl.h>
#include <bcmutils.h>
#include <sdio.h> /* SDIO Device and Protocol Specs */
#include <sdioh.h> /* SDIO Host Controller Specification */
#include <bcmsdbus.h> /* bcmsdh to/from specific controller APIs */
Expand Down
1 change: 1 addition & 0 deletions drivers/staging/brcm80211/brcmfmac/bcmsdh_sdmmc_linux.c
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@
#include <linux/sched.h> /* request_irq() */
#include <linux/netdevice.h>
#include <bcmdefs.h>
#include <osl.h>
#include <bcmutils.h>
#include <sdio.h> /* SDIO Specs */
#include <bcmsdbus.h> /* bcmsdh to/from specific controller APIs */
Expand Down
1 change: 0 additions & 1 deletion drivers/staging/brcm80211/include/bcmutils.h
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,6 @@
};

/* ** driver-only section ** */
#include <osl.h>

#define GPIO_PIN_NOTDEFINED 0x20 /* Pin not defined */

Expand Down
1 change: 1 addition & 0 deletions drivers/staging/brcm80211/phy/wlc_phytbl_lcn.c
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@
#include <linux/types.h>
#include <sbhndpio.h>
#include <sbhnddma.h>
#include <osl.h>
#include <wlc_phy_int.h>
#include <wlc_phytbl_lcn.h>

Expand Down
1 change: 1 addition & 0 deletions drivers/staging/brcm80211/phy/wlc_phytbl_n.c
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@

#include <sbhndpio.h>
#include <sbhnddma.h>
#include <osl.h>
#include <wlc_phy_int.h>
#include <wlc_phytbl_n.h>

Expand Down
1 change: 1 addition & 0 deletions drivers/staging/brcm80211/sys/wlc_event.c
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@
#include <bcmdefs.h>
#include <linux/module.h>
#include <linux/pci.h>
#include <osl.h>
#include <bcmutils.h>
#include <siutils.h>
#include <sbhndpio.h>
Expand Down
2 changes: 1 addition & 1 deletion drivers/staging/brcm80211/sys/wlc_phy_shim.c
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,8 @@
#include <wlc_cfg.h>
#include <linux/module.h>
#include <linux/pci.h>
#include <bcmutils.h>
#include <osl.h>
#include <bcmutils.h>

#include <proto/802.11.h>
#include <bcmwifi.h>
Expand Down
1 change: 1 addition & 0 deletions drivers/staging/brcm80211/util/bcmwifi.c
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@
#ifdef BRCM_FULLMAC
#include <linux/netdevice.h>
#endif
#include <osl.h>
#include <bcmdefs.h>
#include <bcmutils.h>
#include <bcmwifi.h>
Expand Down

0 comments on commit 7f7c3db

Please sign in to comment.