diff options
author | Greg Kroah-Hartman <gregkh@suse.de> | 2010-10-21 14:17:44 -0400 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2010-10-21 14:17:44 -0400 |
commit | a1c16ed2664205dd69c0ea0ec6945f7f10d3edf9 (patch) | |
tree | 68daff891f2a1c0ef9a61b37f0ee86340d908005 | |
parent | f024c48a77c3c20d99de8f3424e8d3a061896885 (diff) |
Staging: brcm80211: remove typedefs.h
It's not needed anymore, so remove it and clean up the .h inclusion mess
a bit to get everything to build properly again.
Wow, this needs some unwinding...
Cc: Brett Rudley <brudley@broadcom.com>
Cc: Henry Ptasinski <henryp@broadcom.com>
Cc: Nohee Ko <noheek@broadcom.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
69 files changed, 91 insertions, 185 deletions
diff --git a/drivers/staging/brcm80211/brcmfmac/bcmsdh.c b/drivers/staging/brcm80211/brcmfmac/bcmsdh.c index 6b62478d998d..4c613da3553a 100644 --- a/drivers/staging/brcm80211/brcmfmac/bcmsdh.c +++ b/drivers/staging/brcm80211/brcmfmac/bcmsdh.c | |||
@@ -15,7 +15,8 @@ | |||
15 | */ | 15 | */ |
16 | /* ****************** BCMSDH Interface Functions *************************** */ | 16 | /* ****************** BCMSDH Interface Functions *************************** */ |
17 | 17 | ||
18 | #include <typedefs.h> | 18 | #include <linux/types.h> |
19 | #include <bcmdefs.h> | ||
19 | #include <bcmdevs.h> | 20 | #include <bcmdevs.h> |
20 | #include <bcmendian.h> | 21 | #include <bcmendian.h> |
21 | #include <bcmutils.h> | 22 | #include <bcmutils.h> |
diff --git a/drivers/staging/brcm80211/brcmfmac/bcmsdh_linux.c b/drivers/staging/brcm80211/brcmfmac/bcmsdh_linux.c index e7ad60d98aff..9028cd01d9d0 100644 --- a/drivers/staging/brcm80211/brcmfmac/bcmsdh_linux.c +++ b/drivers/staging/brcm80211/brcmfmac/bcmsdh_linux.c | |||
@@ -20,7 +20,6 @@ | |||
20 | 20 | ||
21 | #define __UNDEF_NO_VERSION__ | 21 | #define __UNDEF_NO_VERSION__ |
22 | 22 | ||
23 | #include <typedefs.h> | ||
24 | #include <linuxver.h> | 23 | #include <linuxver.h> |
25 | 24 | ||
26 | #include <linux/pci.h> | 25 | #include <linux/pci.h> |
diff --git a/drivers/staging/brcm80211/brcmfmac/bcmsdh_sdmmc.c b/drivers/staging/brcm80211/brcmfmac/bcmsdh_sdmmc.c index 9adf37a2f33f..f6c9c4541813 100644 --- a/drivers/staging/brcm80211/brcmfmac/bcmsdh_sdmmc.c +++ b/drivers/staging/brcm80211/brcmfmac/bcmsdh_sdmmc.c | |||
@@ -13,8 +13,8 @@ | |||
13 | * OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN | 13 | * OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN |
14 | * CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. | 14 | * CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. |
15 | */ | 15 | */ |
16 | #include <typedefs.h> | 16 | #include <linux/types.h> |
17 | 17 | #include <bcmdefs.h> | |
18 | #include <bcmdevs.h> | 18 | #include <bcmdevs.h> |
19 | #include <bcmendian.h> | 19 | #include <bcmendian.h> |
20 | #include <bcmutils.h> | 20 | #include <bcmutils.h> |
diff --git a/drivers/staging/brcm80211/brcmfmac/bcmsdh_sdmmc_linux.c b/drivers/staging/brcm80211/brcmfmac/bcmsdh_sdmmc_linux.c index 6ee2f4862de8..ae7b566b11d7 100644 --- a/drivers/staging/brcm80211/brcmfmac/bcmsdh_sdmmc_linux.c +++ b/drivers/staging/brcm80211/brcmfmac/bcmsdh_sdmmc_linux.c | |||
@@ -13,15 +13,14 @@ | |||
13 | * OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN | 13 | * OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN |
14 | * CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. | 14 | * CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. |
15 | */ | 15 | */ |
16 | 16 | #include <linux/types.h> | |
17 | #include <typedefs.h> | 17 | #include <linux/sched.h> /* request_irq() */ |
18 | #include <bcmdefs.h> | ||
18 | #include <bcmutils.h> | 19 | #include <bcmutils.h> |
19 | #include <sdio.h> /* SDIO Specs */ | 20 | #include <sdio.h> /* SDIO Specs */ |
20 | #include <bcmsdbus.h> /* bcmsdh to/from specific controller APIs */ | 21 | #include <bcmsdbus.h> /* bcmsdh to/from specific controller APIs */ |
21 | #include <sdiovar.h> /* to get msglevel bit values */ | 22 | #include <sdiovar.h> /* to get msglevel bit values */ |
22 | 23 | ||
23 | #include <linux/sched.h> /* request_irq() */ | ||
24 | |||
25 | #include <linux/mmc/core.h> | 24 | #include <linux/mmc/core.h> |
26 | #include <linux/mmc/card.h> | 25 | #include <linux/mmc/card.h> |
27 | #include <linux/mmc/sdio_func.h> | 26 | #include <linux/mmc/sdio_func.h> |
diff --git a/drivers/staging/brcm80211/brcmfmac/dhd_cdc.c b/drivers/staging/brcm80211/brcmfmac/dhd_cdc.c index 08aca6521f78..bcbaac9bcdcc 100644 --- a/drivers/staging/brcm80211/brcmfmac/dhd_cdc.c +++ b/drivers/staging/brcm80211/brcmfmac/dhd_cdc.c | |||
@@ -14,7 +14,8 @@ | |||
14 | * CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. | 14 | * CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. |
15 | */ | 15 | */ |
16 | 16 | ||
17 | #include <typedefs.h> | 17 | #include <linux/types.h> |
18 | #include <bcmdefs.h> | ||
18 | #include <osl.h> | 19 | #include <osl.h> |
19 | 20 | ||
20 | #include <bcmutils.h> | 21 | #include <bcmutils.h> |
diff --git a/drivers/staging/brcm80211/brcmfmac/dhd_common.c b/drivers/staging/brcm80211/brcmfmac/dhd_common.c index 41063f9f36e5..703188fc28ec 100644 --- a/drivers/staging/brcm80211/brcmfmac/dhd_common.c +++ b/drivers/staging/brcm80211/brcmfmac/dhd_common.c | |||
@@ -13,10 +13,10 @@ | |||
13 | * OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN | 13 | * OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN |
14 | * CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. | 14 | * CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. |
15 | */ | 15 | */ |
16 | #include <typedefs.h> | ||
17 | #include <osl.h> | ||
18 | #include <linux/kernel.h> | 16 | #include <linux/kernel.h> |
19 | #include <linux/string.h> | 17 | #include <linux/string.h> |
18 | #include <bcmdefs.h> | ||
19 | #include <osl.h> | ||
20 | #include <bcmutils.h> | 20 | #include <bcmutils.h> |
21 | #include <bcmendian.h> | 21 | #include <bcmendian.h> |
22 | #include <dngl_stats.h> | 22 | #include <dngl_stats.h> |
diff --git a/drivers/staging/brcm80211/brcmfmac/dhd_custom_gpio.c b/drivers/staging/brcm80211/brcmfmac/dhd_custom_gpio.c index b200ee77593a..f647034f36d6 100644 --- a/drivers/staging/brcm80211/brcmfmac/dhd_custom_gpio.c +++ b/drivers/staging/brcm80211/brcmfmac/dhd_custom_gpio.c | |||
@@ -14,7 +14,6 @@ | |||
14 | * CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. | 14 | * CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. |
15 | */ | 15 | */ |
16 | 16 | ||
17 | #include <typedefs.h> | ||
18 | #include <linuxver.h> | 17 | #include <linuxver.h> |
19 | #include <osl.h> | 18 | #include <osl.h> |
20 | #include <bcmutils.h> | 19 | #include <bcmutils.h> |
diff --git a/drivers/staging/brcm80211/brcmfmac/dhd_linux.c b/drivers/staging/brcm80211/brcmfmac/dhd_linux.c index a3e9ca8e6e88..e2bc13d66c71 100644 --- a/drivers/staging/brcm80211/brcmfmac/dhd_linux.c +++ b/drivers/staging/brcm80211/brcmfmac/dhd_linux.c | |||
@@ -17,10 +17,6 @@ | |||
17 | #ifdef CONFIG_WIFI_CONTROL_FUNC | 17 | #ifdef CONFIG_WIFI_CONTROL_FUNC |
18 | #include <linux/platform_device.h> | 18 | #include <linux/platform_device.h> |
19 | #endif | 19 | #endif |
20 | #include <typedefs.h> | ||
21 | #include <linuxver.h> | ||
22 | #include <osl.h> | ||
23 | |||
24 | #include <linux/init.h> | 20 | #include <linux/init.h> |
25 | #include <linux/kernel.h> | 21 | #include <linux/kernel.h> |
26 | #include <linux/kthread.h> | 22 | #include <linux/kthread.h> |
@@ -34,8 +30,10 @@ | |||
34 | #include <linux/ethtool.h> | 30 | #include <linux/ethtool.h> |
35 | #include <linux/fcntl.h> | 31 | #include <linux/fcntl.h> |
36 | #include <linux/fs.h> | 32 | #include <linux/fs.h> |
37 | |||
38 | #include <linux/uaccess.h> | 33 | #include <linux/uaccess.h> |
34 | #include <bcmdefs.h> | ||
35 | #include <linuxver.h> | ||
36 | #include <osl.h> | ||
39 | #include <bcmutils.h> | 37 | #include <bcmutils.h> |
40 | #include <bcmendian.h> | 38 | #include <bcmendian.h> |
41 | 39 | ||
diff --git a/drivers/staging/brcm80211/brcmfmac/dhd_sdio.c b/drivers/staging/brcm80211/brcmfmac/dhd_sdio.c index fd4c91ee3ca4..b2281d9dfdcf 100644 --- a/drivers/staging/brcm80211/brcmfmac/dhd_sdio.c +++ b/drivers/staging/brcm80211/brcmfmac/dhd_sdio.c | |||
@@ -14,7 +14,8 @@ | |||
14 | * CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. | 14 | * CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. |
15 | */ | 15 | */ |
16 | 16 | ||
17 | #include <typedefs.h> | 17 | #include <linux/types.h> |
18 | #include <bcmdefs.h> | ||
18 | #include <osl.h> | 19 | #include <osl.h> |
19 | #include <bcmsdh.h> | 20 | #include <bcmsdh.h> |
20 | 21 | ||
diff --git a/drivers/staging/brcm80211/brcmfmac/wl_cfg80211.c b/drivers/staging/brcm80211/brcmfmac/wl_cfg80211.c index 621521b9e408..9664787a9a57 100644 --- a/drivers/staging/brcm80211/brcmfmac/wl_cfg80211.c +++ b/drivers/staging/brcm80211/brcmfmac/wl_cfg80211.c | |||
@@ -14,16 +14,15 @@ | |||
14 | * CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. | 14 | * CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. |
15 | */ | 15 | */ |
16 | 16 | ||
17 | #include <typedefs.h> | 17 | #include <linux/kernel.h> |
18 | #include <linux/if_arp.h> | ||
18 | #include <linuxver.h> | 19 | #include <linuxver.h> |
19 | #include <osl.h> | 20 | #include <osl.h> |
20 | #include <linux/kernel.h> | ||
21 | 21 | ||
22 | #include <bcmutils.h> | 22 | #include <bcmutils.h> |
23 | #include <bcmendian.h> | 23 | #include <bcmendian.h> |
24 | #include <proto/ethernet.h> | 24 | #include <proto/ethernet.h> |
25 | 25 | ||
26 | #include <linux/if_arp.h> | ||
27 | #include <asm/uaccess.h> | 26 | #include <asm/uaccess.h> |
28 | 27 | ||
29 | #include <dngl_stats.h> | 28 | #include <dngl_stats.h> |
@@ -35,7 +34,6 @@ | |||
35 | #include <dngl_stats.h> | 34 | #include <dngl_stats.h> |
36 | #include <dhd.h> | 35 | #include <dhd.h> |
37 | 36 | ||
38 | #include <linux/kernel.h> | ||
39 | #include <linux/kthread.h> | 37 | #include <linux/kthread.h> |
40 | #include <linux/netdevice.h> | 38 | #include <linux/netdevice.h> |
41 | #include <linux/sched.h> | 39 | #include <linux/sched.h> |
diff --git a/drivers/staging/brcm80211/brcmfmac/wl_cfg80211.h b/drivers/staging/brcm80211/brcmfmac/wl_cfg80211.h index 34eff08aaa67..770e63f0c8ef 100644 --- a/drivers/staging/brcm80211/brcmfmac/wl_cfg80211.h +++ b/drivers/staging/brcm80211/brcmfmac/wl_cfg80211.h | |||
@@ -18,11 +18,10 @@ | |||
18 | #define _wl_cfg80211_h_ | 18 | #define _wl_cfg80211_h_ |
19 | 19 | ||
20 | #include <linux/wireless.h> | 20 | #include <linux/wireless.h> |
21 | #include <typedefs.h> | ||
22 | #include <proto/ethernet.h> | ||
23 | #include <wlioctl.h> | ||
24 | #include <linux/wireless.h> | 21 | #include <linux/wireless.h> |
25 | #include <net/cfg80211.h> | 22 | #include <net/cfg80211.h> |
23 | #include <proto/ethernet.h> | ||
24 | #include <wlioctl.h> | ||
26 | 25 | ||
27 | struct wl_conf; | 26 | struct wl_conf; |
28 | struct wl_iface; | 27 | struct wl_iface; |
diff --git a/drivers/staging/brcm80211/brcmfmac/wl_iw.c b/drivers/staging/brcm80211/brcmfmac/wl_iw.c index d6196d5cd234..979a494fda59 100644 --- a/drivers/staging/brcm80211/brcmfmac/wl_iw.c +++ b/drivers/staging/brcm80211/brcmfmac/wl_iw.c | |||
@@ -14,12 +14,11 @@ | |||
14 | * CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. | 14 | * CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. |
15 | */ | 15 | */ |
16 | 16 | ||
17 | #include <wlioctl.h> | ||
18 | |||
19 | #include <typedefs.h> | ||
20 | #include <linuxver.h> | ||
21 | #include <linux/kthread.h> | 17 | #include <linux/kthread.h> |
18 | #include <bcmdefs.h> | ||
19 | #include <linuxver.h> | ||
22 | #include <osl.h> | 20 | #include <osl.h> |
21 | #include <wlioctl.h> | ||
23 | 22 | ||
24 | #include <bcmutils.h> | 23 | #include <bcmutils.h> |
25 | #include <bcmendian.h> | 24 | #include <bcmendian.h> |
diff --git a/drivers/staging/brcm80211/brcmfmac/wl_iw.h b/drivers/staging/brcm80211/brcmfmac/wl_iw.h index e8e91442d965..edbf61f30b47 100644 --- a/drivers/staging/brcm80211/brcmfmac/wl_iw.h +++ b/drivers/staging/brcm80211/brcmfmac/wl_iw.h | |||
@@ -19,7 +19,6 @@ | |||
19 | 19 | ||
20 | #include <linux/wireless.h> | 20 | #include <linux/wireless.h> |
21 | 21 | ||
22 | #include <typedefs.h> | ||
23 | #include <proto/ethernet.h> | 22 | #include <proto/ethernet.h> |
24 | #include <wlioctl.h> | 23 | #include <wlioctl.h> |
25 | 24 | ||
diff --git a/drivers/staging/brcm80211/include/bcm_rpc.h b/drivers/staging/brcm80211/include/bcm_rpc.h index e1f3cfd77cda..77e5d8f71966 100644 --- a/drivers/staging/brcm80211/include/bcm_rpc.h +++ b/drivers/staging/brcm80211/include/bcm_rpc.h | |||
@@ -17,7 +17,6 @@ | |||
17 | #ifndef _BCM_RPC_H_ | 17 | #ifndef _BCM_RPC_H_ |
18 | #define _BCM_RPC_H_ | 18 | #define _BCM_RPC_H_ |
19 | 19 | ||
20 | #include <typedefs.h> | ||
21 | #include <rpc_osl.h> | 20 | #include <rpc_osl.h> |
22 | 21 | ||
23 | typedef struct rpc_info rpc_info_t; | 22 | typedef struct rpc_info rpc_info_t; |
diff --git a/drivers/staging/brcm80211/include/bcmdefs.h b/drivers/staging/brcm80211/include/bcmdefs.h index 2e1f35386f18..dc52e9dbb8b5 100644 --- a/drivers/staging/brcm80211/include/bcmdefs.h +++ b/drivers/staging/brcm80211/include/bcmdefs.h | |||
@@ -24,10 +24,17 @@ | |||
24 | #define JTAG_BUS 4 | 24 | #define JTAG_BUS 4 |
25 | #define USB_BUS 5 | 25 | #define USB_BUS 5 |
26 | #define SPI_BUS 6 | 26 | #define SPI_BUS 6 |
27 | /* | 27 | |
28 | * One doesn't need to include this file explicitly, gets included automatically if | 28 | |
29 | * typedefs.h is included. | 29 | #ifndef OFF |
30 | */ | 30 | #define OFF 0 |
31 | #endif | ||
32 | |||
33 | #ifndef ON | ||
34 | #define ON 1 /* ON = 1 */ | ||
35 | #endif | ||
36 | |||
37 | #define AUTO (-1) /* Auto = -1 */ | ||
31 | 38 | ||
32 | #ifdef mips | 39 | #ifdef mips |
33 | #define BCMFASTPATH __attribute__ ((__section__(".text.fastpath"))) | 40 | #define BCMFASTPATH __attribute__ ((__section__(".text.fastpath"))) |
diff --git a/drivers/staging/brcm80211/include/bcmendian.h b/drivers/staging/brcm80211/include/bcmendian.h index 52296fb9fc58..4123aefa211c 100644 --- a/drivers/staging/brcm80211/include/bcmendian.h +++ b/drivers/staging/brcm80211/include/bcmendian.h | |||
@@ -17,8 +17,6 @@ | |||
17 | #ifndef _BCMENDIAN_H_ | 17 | #ifndef _BCMENDIAN_H_ |
18 | #define _BCMENDIAN_H_ | 18 | #define _BCMENDIAN_H_ |
19 | 19 | ||
20 | #include <typedefs.h> | ||
21 | |||
22 | /* Reverse the bytes in a 16-bit value */ | 20 | /* Reverse the bytes in a 16-bit value */ |
23 | #define BCMSWAP16(val) \ | 21 | #define BCMSWAP16(val) \ |
24 | ((u16)((((u16)(val) & (u16)0x00ffU) << 8) | \ | 22 | ((u16)((((u16)(val) & (u16)0x00ffU) << 8) | \ |
diff --git a/drivers/staging/brcm80211/include/bcmnvram.h b/drivers/staging/brcm80211/include/bcmnvram.h index adb2eb766c3f..63e31a4749c3 100644 --- a/drivers/staging/brcm80211/include/bcmnvram.h +++ b/drivers/staging/brcm80211/include/bcmnvram.h | |||
@@ -19,7 +19,6 @@ | |||
19 | 19 | ||
20 | #ifndef _LANGUAGE_ASSEMBLY | 20 | #ifndef _LANGUAGE_ASSEMBLY |
21 | 21 | ||
22 | #include <typedefs.h> | ||
23 | #include <bcmdefs.h> | 22 | #include <bcmdefs.h> |
24 | 23 | ||
25 | struct nvram_header { | 24 | struct nvram_header { |
diff --git a/drivers/staging/brcm80211/include/d11.h b/drivers/staging/brcm80211/include/d11.h index 5789e0828ebb..c07548c70e30 100644 --- a/drivers/staging/brcm80211/include/d11.h +++ b/drivers/staging/brcm80211/include/d11.h | |||
@@ -17,7 +17,7 @@ | |||
17 | #ifndef _D11_H | 17 | #ifndef _D11_H |
18 | #define _D11_H | 18 | #define _D11_H |
19 | 19 | ||
20 | #include <typedefs.h> | 20 | #include <bcmdefs.h> |
21 | #include <bcmdevs.h> | 21 | #include <bcmdevs.h> |
22 | #include <hndsoc.h> | 22 | #include <hndsoc.h> |
23 | #include <sbhndpio.h> | 23 | #include <sbhndpio.h> |
diff --git a/drivers/staging/brcm80211/include/dbus.h b/drivers/staging/brcm80211/include/dbus.h index 52666632470e..81ffea79d008 100644 --- a/drivers/staging/brcm80211/include/dbus.h +++ b/drivers/staging/brcm80211/include/dbus.h | |||
@@ -17,8 +17,6 @@ | |||
17 | #ifndef __DBUS_H__ | 17 | #ifndef __DBUS_H__ |
18 | #define __DBUS_H__ | 18 | #define __DBUS_H__ |
19 | 19 | ||
20 | #include "typedefs.h" | ||
21 | |||
22 | #ifdef BCMDBG | 20 | #ifdef BCMDBG |
23 | #define DBUSERR(args) do { if (net_ratelimit()) printf args; } while (0) | 21 | #define DBUSERR(args) do { if (net_ratelimit()) printf args; } while (0) |
24 | #define DBUSTRACE(args) | 22 | #define DBUSTRACE(args) |
diff --git a/drivers/staging/brcm80211/include/dhdioctl.h b/drivers/staging/brcm80211/include/dhdioctl.h index 78fd02de1376..4d06e506f154 100644 --- a/drivers/staging/brcm80211/include/dhdioctl.h +++ b/drivers/staging/brcm80211/include/dhdioctl.h | |||
@@ -17,8 +17,6 @@ | |||
17 | #ifndef _dhdioctl_h_ | 17 | #ifndef _dhdioctl_h_ |
18 | #define _dhdioctl_h_ | 18 | #define _dhdioctl_h_ |
19 | 19 | ||
20 | #include <typedefs.h> | ||
21 | |||
22 | /* require default structure packing */ | 20 | /* require default structure packing */ |
23 | #define BWL_DEFAULT_PACKING | 21 | #define BWL_DEFAULT_PACKING |
24 | #include <packed_section_start.h> | 22 | #include <packed_section_start.h> |
diff --git a/drivers/staging/brcm80211/include/hndrte_armtrap.h b/drivers/staging/brcm80211/include/hndrte_armtrap.h index 8dc636d2ad6e..28f092c9e027 100644 --- a/drivers/staging/brcm80211/include/hndrte_armtrap.h +++ b/drivers/staging/brcm80211/include/hndrte_armtrap.h | |||
@@ -47,8 +47,6 @@ | |||
47 | 47 | ||
48 | #ifndef _LANGUAGE_ASSEMBLY | 48 | #ifndef _LANGUAGE_ASSEMBLY |
49 | 49 | ||
50 | #include <typedefs.h> | ||
51 | |||
52 | typedef struct _trap_struct { | 50 | typedef struct _trap_struct { |
53 | u32 type; | 51 | u32 type; |
54 | u32 epc; | 52 | u32 epc; |
diff --git a/drivers/staging/brcm80211/include/hndrte_cons.h b/drivers/staging/brcm80211/include/hndrte_cons.h index 9e8442f50340..5caa53fb6552 100644 --- a/drivers/staging/brcm80211/include/hndrte_cons.h +++ b/drivers/staging/brcm80211/include/hndrte_cons.h | |||
@@ -14,8 +14,6 @@ | |||
14 | * CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. | 14 | * CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. |
15 | */ | 15 | */ |
16 | 16 | ||
17 | #include <typedefs.h> | ||
18 | |||
19 | #define CBUF_LEN (128) | 17 | #define CBUF_LEN (128) |
20 | 18 | ||
21 | #define LOG_BUF_LEN 1024 | 19 | #define LOG_BUF_LEN 1024 |
diff --git a/drivers/staging/brcm80211/include/linux_osl.h b/drivers/staging/brcm80211/include/linux_osl.h index 7edf47f20a9e..c9c860b6e474 100644 --- a/drivers/staging/brcm80211/include/linux_osl.h +++ b/drivers/staging/brcm80211/include/linux_osl.h | |||
@@ -17,9 +17,6 @@ | |||
17 | #ifndef _linux_osl_h_ | 17 | #ifndef _linux_osl_h_ |
18 | #define _linux_osl_h_ | 18 | #define _linux_osl_h_ |
19 | 19 | ||
20 | #ifdef BRCM_FULLMAC | ||
21 | #include <typedefs.h> | ||
22 | #endif | ||
23 | 20 | ||
24 | /* Linux Kernel: File Operations: start */ | 21 | /* Linux Kernel: File Operations: start */ |
25 | extern void *osl_os_open_image(char *filename); | 22 | extern void *osl_os_open_image(char *filename); |
diff --git a/drivers/staging/brcm80211/include/msgtrace.h b/drivers/staging/brcm80211/include/msgtrace.h index 25b16615543e..9d9e53da088a 100644 --- a/drivers/staging/brcm80211/include/msgtrace.h +++ b/drivers/staging/brcm80211/include/msgtrace.h | |||
@@ -17,8 +17,6 @@ | |||
17 | #ifndef _MSGTRACE_H | 17 | #ifndef _MSGTRACE_H |
18 | #define _MSGTRACE_H | 18 | #define _MSGTRACE_H |
19 | 19 | ||
20 | #include <typedefs.h> | ||
21 | |||
22 | /* This marks the start of a packed structure section. */ | 20 | /* This marks the start of a packed structure section. */ |
23 | #include <packed_section_start.h> | 21 | #include <packed_section_start.h> |
24 | 22 | ||
diff --git a/drivers/staging/brcm80211/include/proto/802.11.h b/drivers/staging/brcm80211/include/proto/802.11.h index db26cf106620..ffde19c5ac5c 100644 --- a/drivers/staging/brcm80211/include/proto/802.11.h +++ b/drivers/staging/brcm80211/include/proto/802.11.h | |||
@@ -17,7 +17,6 @@ | |||
17 | #ifndef _802_11_H_ | 17 | #ifndef _802_11_H_ |
18 | #define _802_11_H_ | 18 | #define _802_11_H_ |
19 | 19 | ||
20 | #include <typedefs.h> | ||
21 | #include <proto/wpa.h> | 20 | #include <proto/wpa.h> |
22 | #include <packed_section_start.h> | 21 | #include <packed_section_start.h> |
23 | 22 | ||
diff --git a/drivers/staging/brcm80211/include/proto/bcmeth.h b/drivers/staging/brcm80211/include/proto/bcmeth.h index c5da92b9ccd4..f7d3d8dfd3ae 100644 --- a/drivers/staging/brcm80211/include/proto/bcmeth.h +++ b/drivers/staging/brcm80211/include/proto/bcmeth.h | |||
@@ -17,7 +17,6 @@ | |||
17 | #ifndef _BCMETH_H_ | 17 | #ifndef _BCMETH_H_ |
18 | #define _BCMETH_H_ | 18 | #define _BCMETH_H_ |
19 | 19 | ||
20 | #include <typedefs.h> | ||
21 | #include <packed_section_start.h> | 20 | #include <packed_section_start.h> |
22 | 21 | ||
23 | #define BCMILCP_SUBTYPE_RATE 1 | 22 | #define BCMILCP_SUBTYPE_RATE 1 |
diff --git a/drivers/staging/brcm80211/include/proto/bcmevent.h b/drivers/staging/brcm80211/include/proto/bcmevent.h index 0a7231df0cea..865d15767a00 100644 --- a/drivers/staging/brcm80211/include/proto/bcmevent.h +++ b/drivers/staging/brcm80211/include/proto/bcmevent.h | |||
@@ -17,7 +17,6 @@ | |||
17 | #ifndef _BCMEVENT_H_ | 17 | #ifndef _BCMEVENT_H_ |
18 | #define _BCMEVENT_H_ | 18 | #define _BCMEVENT_H_ |
19 | 19 | ||
20 | #include <typedefs.h> | ||
21 | #include <packed_section_start.h> | 20 | #include <packed_section_start.h> |
22 | 21 | ||
23 | #define BCM_EVENT_MSG_VERSION 1 | 22 | #define BCM_EVENT_MSG_VERSION 1 |
diff --git a/drivers/staging/brcm80211/include/proto/bcmip.h b/drivers/staging/brcm80211/include/proto/bcmip.h index 37ff7188d941..1ac391a40527 100644 --- a/drivers/staging/brcm80211/include/proto/bcmip.h +++ b/drivers/staging/brcm80211/include/proto/bcmip.h | |||
@@ -17,7 +17,6 @@ | |||
17 | #ifndef _bcmip_h_ | 17 | #ifndef _bcmip_h_ |
18 | #define _bcmip_h_ | 18 | #define _bcmip_h_ |
19 | 19 | ||
20 | #include <typedefs.h> | ||
21 | #include <packed_section_start.h> | 20 | #include <packed_section_start.h> |
22 | 21 | ||
23 | #define IP_VER_OFFSET 0x0 | 22 | #define IP_VER_OFFSET 0x0 |
diff --git a/drivers/staging/brcm80211/include/proto/ethernet.h b/drivers/staging/brcm80211/include/proto/ethernet.h index d208d5f606a7..cc17b428dd3f 100644 --- a/drivers/staging/brcm80211/include/proto/ethernet.h +++ b/drivers/staging/brcm80211/include/proto/ethernet.h | |||
@@ -17,7 +17,6 @@ | |||
17 | #ifndef _NET_ETHERNET_H_ | 17 | #ifndef _NET_ETHERNET_H_ |
18 | #define _NET_ETHERNET_H_ | 18 | #define _NET_ETHERNET_H_ |
19 | 19 | ||
20 | #include "typedefs.h" | ||
21 | #include <packed_section_start.h> | 20 | #include <packed_section_start.h> |
22 | 21 | ||
23 | #define ETHER_ADDR_LEN 6 | 22 | #define ETHER_ADDR_LEN 6 |
diff --git a/drivers/staging/brcm80211/include/proto/vlan.h b/drivers/staging/brcm80211/include/proto/vlan.h index 9e1f17836ae3..f8b4ce257e7b 100644 --- a/drivers/staging/brcm80211/include/proto/vlan.h +++ b/drivers/staging/brcm80211/include/proto/vlan.h | |||
@@ -17,7 +17,6 @@ | |||
17 | #ifndef _vlan_h_ | 17 | #ifndef _vlan_h_ |
18 | #define _vlan_h_ | 18 | #define _vlan_h_ |
19 | 19 | ||
20 | #include <typedefs.h> | ||
21 | #include <packed_section_start.h> | 20 | #include <packed_section_start.h> |
22 | 21 | ||
23 | #define VLAN_VID_MASK 0xfff | 22 | #define VLAN_VID_MASK 0xfff |
diff --git a/drivers/staging/brcm80211/include/proto/wpa.h b/drivers/staging/brcm80211/include/proto/wpa.h index 5c63e593e6cb..ec84c9f2b5ee 100644 --- a/drivers/staging/brcm80211/include/proto/wpa.h +++ b/drivers/staging/brcm80211/include/proto/wpa.h | |||
@@ -17,7 +17,6 @@ | |||
17 | #ifndef _proto_wpa_h_ | 17 | #ifndef _proto_wpa_h_ |
18 | #define _proto_wpa_h_ | 18 | #define _proto_wpa_h_ |
19 | 19 | ||
20 | #include <typedefs.h> | ||
21 | #include <proto/ethernet.h> | 20 | #include <proto/ethernet.h> |
22 | 21 | ||
23 | #include <packed_section_start.h> | 22 | #include <packed_section_start.h> |
diff --git a/drivers/staging/brcm80211/include/qmath.h b/drivers/staging/brcm80211/include/qmath.h index 4002eb06acaa..5f525dbcd46e 100644 --- a/drivers/staging/brcm80211/include/qmath.h +++ b/drivers/staging/brcm80211/include/qmath.h | |||
@@ -17,8 +17,6 @@ | |||
17 | #ifndef __QMATH_H__ | 17 | #ifndef __QMATH_H__ |
18 | #define __QMATH_H__ | 18 | #define __QMATH_H__ |
19 | 19 | ||
20 | #include <typedefs.h> | ||
21 | |||
22 | s16 qm_sat32(s32 op); | 20 | s16 qm_sat32(s32 op); |
23 | 21 | ||
24 | s32 qm_mul321616(s16 op1, s16 op2); | 22 | s32 qm_mul321616(s16 op1, s16 op2); |
diff --git a/drivers/staging/brcm80211/include/sdiovar.h b/drivers/staging/brcm80211/include/sdiovar.h index 2112cb6f901b..7686fde03960 100644 --- a/drivers/staging/brcm80211/include/sdiovar.h +++ b/drivers/staging/brcm80211/include/sdiovar.h | |||
@@ -17,8 +17,6 @@ | |||
17 | #ifndef _sdiovar_h_ | 17 | #ifndef _sdiovar_h_ |
18 | #define _sdiovar_h_ | 18 | #define _sdiovar_h_ |
19 | 19 | ||
20 | #include <typedefs.h> | ||
21 | |||
22 | /* require default structure packing */ | 20 | /* require default structure packing */ |
23 | #define BWL_DEFAULT_PACKING | 21 | #define BWL_DEFAULT_PACKING |
24 | #include <packed_section_start.h> | 22 | #include <packed_section_start.h> |
diff --git a/drivers/staging/brcm80211/include/typedefs.h b/drivers/staging/brcm80211/include/typedefs.h deleted file mode 100644 index 266734a5ae98..000000000000 --- a/drivers/staging/brcm80211/include/typedefs.h +++ /dev/null | |||
@@ -1,39 +0,0 @@ | |||
1 | /* | ||
2 | * Copyright (c) 2010 Broadcom Corporation | ||
3 | * | ||
4 | * Permission to use, copy, modify, and/or distribute this software for any | ||
5 | * purpose with or without fee is hereby granted, provided that the above | ||
6 | * copyright notice and this permission notice appear in all copies. | ||
7 | * | ||
8 | * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES | ||
9 | * WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF | ||
10 | * MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY | ||
11 | * SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES | ||
12 | * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION | ||
13 | * OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN | ||
14 | * CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. | ||
15 | */ | ||
16 | |||
17 | #ifndef _TYPEDEFS_H_ | ||
18 | #define _TYPEDEFS_H_ | ||
19 | |||
20 | #include <linux/types.h> | ||
21 | |||
22 | #ifndef OFF | ||
23 | #define OFF 0 | ||
24 | #endif | ||
25 | |||
26 | #ifndef ON | ||
27 | #define ON 1 /* ON = 1 */ | ||
28 | #endif | ||
29 | |||
30 | #define AUTO (-1) /* Auto = -1 */ | ||
31 | |||
32 | |||
33 | /* | ||
34 | * Including the bcmdefs.h here, to make sure everyone including typedefs.h | ||
35 | * gets this automatically | ||
36 | */ | ||
37 | #include <bcmdefs.h> | ||
38 | |||
39 | #endif /* _TYPEDEFS_H_ */ | ||
diff --git a/drivers/staging/brcm80211/include/wlioctl.h b/drivers/staging/brcm80211/include/wlioctl.h index 0b81807c2f98..96866fb8898c 100644 --- a/drivers/staging/brcm80211/include/wlioctl.h +++ b/drivers/staging/brcm80211/include/wlioctl.h | |||
@@ -17,7 +17,6 @@ | |||
17 | #ifndef _wlioctl_h_ | 17 | #ifndef _wlioctl_h_ |
18 | #define _wlioctl_h_ | 18 | #define _wlioctl_h_ |
19 | 19 | ||
20 | #include <typedefs.h> | ||
21 | #include <proto/ethernet.h> | 20 | #include <proto/ethernet.h> |
22 | #ifdef BRCM_FULLMAC | 21 | #ifdef BRCM_FULLMAC |
23 | #include <proto/bcmeth.h> | 22 | #include <proto/bcmeth.h> |
diff --git a/drivers/staging/brcm80211/phy/wlc_phy_cmn.c b/drivers/staging/brcm80211/phy/wlc_phy_cmn.c index 21bb8f10fc10..8287261120f4 100644 --- a/drivers/staging/brcm80211/phy/wlc_phy_cmn.c +++ b/drivers/staging/brcm80211/phy/wlc_phy_cmn.c | |||
@@ -16,10 +16,10 @@ | |||
16 | 16 | ||
17 | #include <wlc_cfg.h> | 17 | #include <wlc_cfg.h> |
18 | 18 | ||
19 | #include <typedefs.h> | ||
20 | #include <osl.h> | ||
21 | #include <linux/kernel.h> | 19 | #include <linux/kernel.h> |
22 | #include <linux/string.h> | 20 | #include <linux/string.h> |
21 | #include <bcmdefs.h> | ||
22 | #include <osl.h> | ||
23 | #include <linuxver.h> | 23 | #include <linuxver.h> |
24 | #include <bcmendian.h> | 24 | #include <bcmendian.h> |
25 | #include <bcmnvram.h> | 25 | #include <bcmnvram.h> |
diff --git a/drivers/staging/brcm80211/phy/wlc_phy_hal.h b/drivers/staging/brcm80211/phy/wlc_phy_hal.h index 6ad1b824a72e..52260b2d0eba 100644 --- a/drivers/staging/brcm80211/phy/wlc_phy_hal.h +++ b/drivers/staging/brcm80211/phy/wlc_phy_hal.h | |||
@@ -17,7 +17,6 @@ | |||
17 | #ifndef _wlc_phy_h_ | 17 | #ifndef _wlc_phy_h_ |
18 | #define _wlc_phy_h_ | 18 | #define _wlc_phy_h_ |
19 | 19 | ||
20 | #include <typedefs.h> | ||
21 | #include <wlioctl.h> | 20 | #include <wlioctl.h> |
22 | #include <siutils.h> | 21 | #include <siutils.h> |
23 | #include <d11.h> | 22 | #include <d11.h> |
diff --git a/drivers/staging/brcm80211/phy/wlc_phy_int.h b/drivers/staging/brcm80211/phy/wlc_phy_int.h index 8ec630115902..9513b87fa163 100644 --- a/drivers/staging/brcm80211/phy/wlc_phy_int.h +++ b/drivers/staging/brcm80211/phy/wlc_phy_int.h | |||
@@ -17,7 +17,8 @@ | |||
17 | #ifndef _wlc_phy_int_h_ | 17 | #ifndef _wlc_phy_int_h_ |
18 | #define _wlc_phy_int_h_ | 18 | #define _wlc_phy_int_h_ |
19 | 19 | ||
20 | #include <typedefs.h> | 20 | #include <linux/kernel.h> |
21 | #include <bcmdefs.h> | ||
21 | #include <bcmutils.h> | 22 | #include <bcmutils.h> |
22 | 23 | ||
23 | #include <bcmsrom_fmt.h> | 24 | #include <bcmsrom_fmt.h> |
diff --git a/drivers/staging/brcm80211/phy/wlc_phy_lcn.c b/drivers/staging/brcm80211/phy/wlc_phy_lcn.c index c41db98ddcce..3d3112ed4e20 100644 --- a/drivers/staging/brcm80211/phy/wlc_phy_lcn.c +++ b/drivers/staging/brcm80211/phy/wlc_phy_lcn.c | |||
@@ -14,14 +14,14 @@ | |||
14 | * CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. | 14 | * CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. |
15 | */ | 15 | */ |
16 | 16 | ||
17 | #include <linux/kernel.h> | ||
18 | #include <linux/string.h> | ||
19 | #include <linux/bitops.h> | ||
17 | #include <wlc_cfg.h> | 20 | #include <wlc_cfg.h> |
18 | #include <qmath.h> | 21 | #include <qmath.h> |
19 | #include <osl.h> | 22 | #include <osl.h> |
20 | #include <linux/kernel.h> | ||
21 | #include <linux/string.h> | ||
22 | #include <linuxver.h> | 23 | #include <linuxver.h> |
23 | #include <siutils.h> | 24 | #include <siutils.h> |
24 | #include <linux/bitops.h> | ||
25 | #include <hndpmu.h> | 25 | #include <hndpmu.h> |
26 | 26 | ||
27 | #include <wlc_phy_radio.h> | 27 | #include <wlc_phy_radio.h> |
diff --git a/drivers/staging/brcm80211/phy/wlc_phy_lcn.h b/drivers/staging/brcm80211/phy/wlc_phy_lcn.h index b7623ba13a48..b7bfc7230dfc 100644 --- a/drivers/staging/brcm80211/phy/wlc_phy_lcn.h +++ b/drivers/staging/brcm80211/phy/wlc_phy_lcn.h | |||
@@ -17,8 +17,6 @@ | |||
17 | #ifndef _wlc_phy_lcn_h_ | 17 | #ifndef _wlc_phy_lcn_h_ |
18 | #define _wlc_phy_lcn_h_ | 18 | #define _wlc_phy_lcn_h_ |
19 | 19 | ||
20 | #include <typedefs.h> | ||
21 | |||
22 | struct phy_info_lcnphy { | 20 | struct phy_info_lcnphy { |
23 | int lcnphy_txrf_sp_9_override; | 21 | int lcnphy_txrf_sp_9_override; |
24 | u8 lcnphy_full_cal_channel; | 22 | u8 lcnphy_full_cal_channel; |
diff --git a/drivers/staging/brcm80211/phy/wlc_phy_n.c b/drivers/staging/brcm80211/phy/wlc_phy_n.c index 6e3dbfd7815c..950008f122b1 100644 --- a/drivers/staging/brcm80211/phy/wlc_phy_n.c +++ b/drivers/staging/brcm80211/phy/wlc_phy_n.c | |||
@@ -14,10 +14,10 @@ | |||
14 | * CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. | 14 | * CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. |
15 | */ | 15 | */ |
16 | 16 | ||
17 | #include <wlc_cfg.h> | ||
18 | #include <typedefs.h> | ||
19 | #include <linux/kernel.h> | 17 | #include <linux/kernel.h> |
20 | #include <linux/string.h> | 18 | #include <linux/string.h> |
19 | #include <bcmdefs.h> | ||
20 | #include <wlc_cfg.h> | ||
21 | #include <linuxver.h> | 21 | #include <linuxver.h> |
22 | #include <osl.h> | 22 | #include <osl.h> |
23 | #include <siutils.h> | 23 | #include <siutils.h> |
diff --git a/drivers/staging/brcm80211/phy/wlc_phytbl_lcn.c b/drivers/staging/brcm80211/phy/wlc_phytbl_lcn.c index e3d6dd183791..6ce9e5d96830 100644 --- a/drivers/staging/brcm80211/phy/wlc_phytbl_lcn.c +++ b/drivers/staging/brcm80211/phy/wlc_phytbl_lcn.c | |||
@@ -14,8 +14,7 @@ | |||
14 | * CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. | 14 | * CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. |
15 | */ | 15 | */ |
16 | 16 | ||
17 | #include <typedefs.h> | 17 | #include <linux/types.h> |
18 | |||
19 | #include <wlc_phy_int.h> | 18 | #include <wlc_phy_int.h> |
20 | #include <wlc_phytbl_lcn.h> | 19 | #include <wlc_phytbl_lcn.h> |
21 | 20 | ||
diff --git a/drivers/staging/brcm80211/phy/wlc_phytbl_n.c b/drivers/staging/brcm80211/phy/wlc_phytbl_n.c index bbc4cfae73e3..7cc2c563c727 100644 --- a/drivers/staging/brcm80211/phy/wlc_phytbl_n.c +++ b/drivers/staging/brcm80211/phy/wlc_phytbl_n.c | |||
@@ -14,7 +14,7 @@ | |||
14 | * CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. | 14 | * CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. |
15 | */ | 15 | */ |
16 | 16 | ||
17 | #include <typedefs.h> | 17 | #include <linux/kernel.h> |
18 | 18 | ||
19 | #include <wlc_phy_int.h> | 19 | #include <wlc_phy_int.h> |
20 | #include <wlc_phytbl_n.h> | 20 | #include <wlc_phytbl_n.h> |
diff --git a/drivers/staging/brcm80211/sys/wl_mac80211.c b/drivers/staging/brcm80211/sys/wl_mac80211.c index ff9cbccd54b8..ad635ee7758e 100644 --- a/drivers/staging/brcm80211/sys/wl_mac80211.c +++ b/drivers/staging/brcm80211/sys/wl_mac80211.c | |||
@@ -16,13 +16,13 @@ | |||
16 | 16 | ||
17 | #define __UNDEF_NO_VERSION__ | 17 | #define __UNDEF_NO_VERSION__ |
18 | 18 | ||
19 | #include <typedefs.h> | ||
20 | #include <linuxver.h> | ||
21 | #include <osl.h> | ||
22 | #include <linux/kernel.h> | 19 | #include <linux/kernel.h> |
23 | #include <linux/etherdevice.h> | 20 | #include <linux/etherdevice.h> |
24 | #include <linux/string.h> | 21 | #include <linux/string.h> |
25 | #include <linux/pci_ids.h> | 22 | #include <linux/pci_ids.h> |
23 | #include <bcmdefs.h> | ||
24 | #include <linuxver.h> | ||
25 | #include <osl.h> | ||
26 | #define WLC_MAXBSSCFG 1 /* single BSS configs */ | 26 | #define WLC_MAXBSSCFG 1 /* single BSS configs */ |
27 | 27 | ||
28 | #include <wlc_cfg.h> | 28 | #include <wlc_cfg.h> |
diff --git a/drivers/staging/brcm80211/sys/wl_ucode.h b/drivers/staging/brcm80211/sys/wl_ucode.h index 3254f5aa46c3..a1ba37209f96 100644 --- a/drivers/staging/brcm80211/sys/wl_ucode.h +++ b/drivers/staging/brcm80211/sys/wl_ucode.h | |||
@@ -14,7 +14,6 @@ | |||
14 | * CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. | 14 | * CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. |
15 | */ | 15 | */ |
16 | 16 | ||
17 | #include <typedefs.h> | ||
18 | typedef struct d11init { | 17 | typedef struct d11init { |
19 | u16 addr; | 18 | u16 addr; |
20 | u16 size; | 19 | u16 size; |
diff --git a/drivers/staging/brcm80211/sys/wl_ucode_loader.c b/drivers/staging/brcm80211/sys/wl_ucode_loader.c index 93a3a016db59..0b41a9cb1ec9 100644 --- a/drivers/staging/brcm80211/sys/wl_ucode_loader.c +++ b/drivers/staging/brcm80211/sys/wl_ucode_loader.c | |||
@@ -15,7 +15,8 @@ | |||
15 | */ | 15 | */ |
16 | 16 | ||
17 | typedef struct wl_info wl_info_t; | 17 | typedef struct wl_info wl_info_t; |
18 | #include <typedefs.h> | 18 | #include <linux/types.h> |
19 | #include <bcmdefs.h> | ||
19 | #include <d11ucode_ext.h> | 20 | #include <d11ucode_ext.h> |
20 | #include <wl_ucode.h> | 21 | #include <wl_ucode.h> |
21 | 22 | ||
diff --git a/drivers/staging/brcm80211/sys/wlc_alloc.c b/drivers/staging/brcm80211/sys/wlc_alloc.c index f9953df851bb..2dc89f9c2635 100644 --- a/drivers/staging/brcm80211/sys/wlc_alloc.c +++ b/drivers/staging/brcm80211/sys/wlc_alloc.c | |||
@@ -13,11 +13,10 @@ | |||
13 | * OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN | 13 | * OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN |
14 | * CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. | 14 | * CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. |
15 | */ | 15 | */ |
16 | |||
17 | #include <wlc_cfg.h> | ||
18 | #include <typedefs.h> | ||
19 | #include <linux/kernel.h> | 16 | #include <linux/kernel.h> |
20 | #include <linux/string.h> | 17 | #include <linux/string.h> |
18 | #include <bcmdefs.h> | ||
19 | #include <wlc_cfg.h> | ||
21 | #include <linuxver.h> | 20 | #include <linuxver.h> |
22 | #include <osl.h> | 21 | #include <osl.h> |
23 | #include <bcmutils.h> | 22 | #include <bcmutils.h> |
diff --git a/drivers/staging/brcm80211/sys/wlc_ampdu.c b/drivers/staging/brcm80211/sys/wlc_ampdu.c index 1edc5346438a..a4e49f3c1363 100644 --- a/drivers/staging/brcm80211/sys/wlc_ampdu.c +++ b/drivers/staging/brcm80211/sys/wlc_ampdu.c | |||
@@ -13,9 +13,9 @@ | |||
13 | * OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN | 13 | * OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN |
14 | * CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. | 14 | * CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. |
15 | */ | 15 | */ |
16 | 16 | #include <linux/kernel.h> | |
17 | #include <wlc_cfg.h> | 17 | #include <wlc_cfg.h> |
18 | #include <typedefs.h> | 18 | #include <bcmdefs.h> |
19 | #include <linuxver.h> | 19 | #include <linuxver.h> |
20 | #include <bcmdefs.h> | 20 | #include <bcmdefs.h> |
21 | #include <osl.h> | 21 | #include <osl.h> |
diff --git a/drivers/staging/brcm80211/sys/wlc_antsel.c b/drivers/staging/brcm80211/sys/wlc_antsel.c index 1f5e62ac7a54..5ff8831d2fa8 100644 --- a/drivers/staging/brcm80211/sys/wlc_antsel.c +++ b/drivers/staging/brcm80211/sys/wlc_antsel.c | |||
@@ -18,7 +18,6 @@ | |||
18 | 18 | ||
19 | #ifdef WLANTSEL | 19 | #ifdef WLANTSEL |
20 | 20 | ||
21 | #include <typedefs.h> | ||
22 | #include <linux/kernel.h> | 21 | #include <linux/kernel.h> |
23 | #include <linuxver.h> | 22 | #include <linuxver.h> |
24 | #include <bcmdefs.h> | 23 | #include <bcmdefs.h> |
diff --git a/drivers/staging/brcm80211/sys/wlc_bmac.c b/drivers/staging/brcm80211/sys/wlc_bmac.c index 5f386d3e3bcc..b70f9d099233 100644 --- a/drivers/staging/brcm80211/sys/wlc_bmac.c +++ b/drivers/staging/brcm80211/sys/wlc_bmac.c | |||
@@ -18,12 +18,11 @@ | |||
18 | #error "This file needs WLC_LOW" | 18 | #error "This file needs WLC_LOW" |
19 | #endif | 19 | #endif |
20 | 20 | ||
21 | #include <linux/kernel.h> | ||
21 | #include <wlc_cfg.h> | 22 | #include <wlc_cfg.h> |
22 | #include <typedefs.h> | ||
23 | #include <linuxver.h> | 23 | #include <linuxver.h> |
24 | #include <bcmdefs.h> | 24 | #include <bcmdefs.h> |
25 | #include <osl.h> | 25 | #include <osl.h> |
26 | #include <linux/kernel.h> | ||
27 | #include <proto/802.11.h> | 26 | #include <proto/802.11.h> |
28 | #include <bcmwifi.h> | 27 | #include <bcmwifi.h> |
29 | #include <bcmutils.h> | 28 | #include <bcmutils.h> |
diff --git a/drivers/staging/brcm80211/sys/wlc_channel.c b/drivers/staging/brcm80211/sys/wlc_channel.c index 259f40945a7d..509280337e34 100644 --- a/drivers/staging/brcm80211/sys/wlc_channel.c +++ b/drivers/staging/brcm80211/sys/wlc_channel.c | |||
@@ -14,12 +14,11 @@ | |||
14 | * CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. | 14 | * CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. |
15 | */ | 15 | */ |
16 | 16 | ||
17 | #include <wlc_cfg.h> | ||
18 | #include <typedefs.h> | ||
19 | #include <bcmdefs.h> | ||
20 | #include <osl.h> | ||
21 | #include <linux/kernel.h> | 17 | #include <linux/kernel.h> |
22 | #include <linux/string.h> | 18 | #include <linux/string.h> |
19 | #include <bcmdefs.h> | ||
20 | #include <wlc_cfg.h> | ||
21 | #include <osl.h> | ||
23 | #include <linuxver.h> | 22 | #include <linuxver.h> |
24 | #include <bcmutils.h> | 23 | #include <bcmutils.h> |
25 | #include <siutils.h> | 24 | #include <siutils.h> |
diff --git a/drivers/staging/brcm80211/sys/wlc_event.c b/drivers/staging/brcm80211/sys/wlc_event.c index a2fdf485f405..7c17e5f67c5f 100644 --- a/drivers/staging/brcm80211/sys/wlc_event.c +++ b/drivers/staging/brcm80211/sys/wlc_event.c | |||
@@ -14,8 +14,8 @@ | |||
14 | * CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. | 14 | * CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. |
15 | */ | 15 | */ |
16 | 16 | ||
17 | #include <typedefs.h> | ||
18 | #include <linux/kernel.h> | 17 | #include <linux/kernel.h> |
18 | #include <bcmdefs.h> | ||
19 | #include <linuxver.h> | 19 | #include <linuxver.h> |
20 | #include <bcmutils.h> | 20 | #include <bcmutils.h> |
21 | #include <siutils.h> | 21 | #include <siutils.h> |
diff --git a/drivers/staging/brcm80211/sys/wlc_mac80211.c b/drivers/staging/brcm80211/sys/wlc_mac80211.c index e695a4839e98..feaffcc64ec6 100644 --- a/drivers/staging/brcm80211/sys/wlc_mac80211.c +++ b/drivers/staging/brcm80211/sys/wlc_mac80211.c | |||
@@ -13,14 +13,12 @@ | |||
13 | * OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN | 13 | * OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN |
14 | * CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. | 14 | * CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. |
15 | */ | 15 | */ |
16 | |||
17 | #include <wlc_cfg.h> | ||
18 | #include <typedefs.h> | ||
19 | #include <linux/kernel.h> | 16 | #include <linux/kernel.h> |
20 | #include <linuxver.h> | 17 | #include <linux/ctype.h> |
21 | #include <bcmdefs.h> | 18 | #include <bcmdefs.h> |
19 | #include <wlc_cfg.h> | ||
20 | #include <linuxver.h> | ||
22 | #include <osl.h> | 21 | #include <osl.h> |
23 | #include <linux/ctype.h> | ||
24 | #include <bcmutils.h> | 22 | #include <bcmutils.h> |
25 | #include <bcmwifi.h> | 23 | #include <bcmwifi.h> |
26 | #include <siutils.h> | 24 | #include <siutils.h> |
diff --git a/drivers/staging/brcm80211/sys/wlc_phy_shim.c b/drivers/staging/brcm80211/sys/wlc_phy_shim.c index 6980935af97e..bf8e2e1a15f6 100644 --- a/drivers/staging/brcm80211/sys/wlc_phy_shim.c +++ b/drivers/staging/brcm80211/sys/wlc_phy_shim.c | |||
@@ -21,12 +21,11 @@ | |||
21 | * access to wlc_hw pointer. | 21 | * access to wlc_hw pointer. |
22 | */ | 22 | */ |
23 | 23 | ||
24 | #include <linux/kernel.h> | ||
25 | #include <bcmdefs.h> | ||
24 | #include <wlc_cfg.h> | 26 | #include <wlc_cfg.h> |
25 | #include <typedefs.h> | ||
26 | #include <linuxver.h> | 27 | #include <linuxver.h> |
27 | #include <linux/kernel.h> | ||
28 | #include <bcmutils.h> | 28 | #include <bcmutils.h> |
29 | #include <bcmdefs.h> | ||
30 | #include <osl.h> | 29 | #include <osl.h> |
31 | 30 | ||
32 | #include <proto/802.11.h> | 31 | #include <proto/802.11.h> |
diff --git a/drivers/staging/brcm80211/sys/wlc_rate.c b/drivers/staging/brcm80211/sys/wlc_rate.c index d4dcd058c416..d2d72568756d 100644 --- a/drivers/staging/brcm80211/sys/wlc_rate.c +++ b/drivers/staging/brcm80211/sys/wlc_rate.c | |||
@@ -13,11 +13,10 @@ | |||
13 | * OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN | 13 | * OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN |
14 | * CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. | 14 | * CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. |
15 | */ | 15 | */ |
16 | 16 | #include <linux/kernel.h> | |
17 | #include <bcmdefs.h> | ||
17 | #include <wlc_cfg.h> | 18 | #include <wlc_cfg.h> |
18 | #include <typedefs.h> | ||
19 | #include <osl.h> | 19 | #include <osl.h> |
20 | #include <linux/kernel.h> | ||
21 | #include <linuxver.h> | 20 | #include <linuxver.h> |
22 | #include <bcmutils.h> | 21 | #include <bcmutils.h> |
23 | #include <siutils.h> | 22 | #include <siutils.h> |
diff --git a/drivers/staging/brcm80211/sys/wlc_stf.c b/drivers/staging/brcm80211/sys/wlc_stf.c index a1db289a1209..4728ad90e295 100644 --- a/drivers/staging/brcm80211/sys/wlc_stf.c +++ b/drivers/staging/brcm80211/sys/wlc_stf.c | |||
@@ -14,9 +14,8 @@ | |||
14 | * CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. | 14 | * CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. |
15 | */ | 15 | */ |
16 | 16 | ||
17 | #include <wlc_cfg.h> | ||
18 | #include <typedefs.h> | ||
19 | #include <linux/kernel.h> | 17 | #include <linux/kernel.h> |
18 | #include <wlc_cfg.h> | ||
20 | #include <linuxver.h> | 19 | #include <linuxver.h> |
21 | #include <bcmdefs.h> | 20 | #include <bcmdefs.h> |
22 | #include <osl.h> | 21 | #include <osl.h> |
diff --git a/drivers/staging/brcm80211/util/aiutils.c b/drivers/staging/brcm80211/util/aiutils.c index 65461d0d91da..75a7e3a5c009 100644 --- a/drivers/staging/brcm80211/util/aiutils.c +++ b/drivers/staging/brcm80211/util/aiutils.c | |||
@@ -14,11 +14,10 @@ | |||
14 | * CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. | 14 | * CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. |
15 | */ | 15 | */ |
16 | 16 | ||
17 | #include <typedefs.h> | ||
18 | #include <bcmdefs.h> | ||
19 | #include <osl.h> | ||
20 | #include <linux/kernel.h> | 17 | #include <linux/kernel.h> |
21 | #include <linux/string.h> | 18 | #include <linux/string.h> |
19 | #include <bcmdefs.h> | ||
20 | #include <osl.h> | ||
22 | #include <linuxver.h> | 21 | #include <linuxver.h> |
23 | #include <bcmutils.h> | 22 | #include <bcmutils.h> |
24 | #include <siutils.h> | 23 | #include <siutils.h> |
diff --git a/drivers/staging/brcm80211/util/bcmotp.c b/drivers/staging/brcm80211/util/bcmotp.c index 4a0161396d17..c909832c7ee1 100644 --- a/drivers/staging/brcm80211/util/bcmotp.c +++ b/drivers/staging/brcm80211/util/bcmotp.c | |||
@@ -14,11 +14,10 @@ | |||
14 | * CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. | 14 | * CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. |
15 | */ | 15 | */ |
16 | 16 | ||
17 | #include <typedefs.h> | ||
18 | #include <bcmdefs.h> | ||
19 | #include <osl.h> | ||
20 | #include <linux/kernel.h> | 17 | #include <linux/kernel.h> |
21 | #include <linux/string.h> | 18 | #include <linux/string.h> |
19 | #include <bcmdefs.h> | ||
20 | #include <osl.h> | ||
22 | #include <linuxver.h> | 21 | #include <linuxver.h> |
23 | #include <bcmdevs.h> | 22 | #include <bcmdevs.h> |
24 | #include <bcmutils.h> | 23 | #include <bcmutils.h> |
diff --git a/drivers/staging/brcm80211/util/bcmsrom.c b/drivers/staging/brcm80211/util/bcmsrom.c index 62c055a83309..1282ef7eb922 100644 --- a/drivers/staging/brcm80211/util/bcmsrom.c +++ b/drivers/staging/brcm80211/util/bcmsrom.c | |||
@@ -13,12 +13,10 @@ | |||
13 | * OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN | 13 | * OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN |
14 | * CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. | 14 | * CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. |
15 | */ | 15 | */ |
16 | |||
17 | #include <typedefs.h> | ||
18 | #include <bcmdefs.h> | ||
19 | #include <osl.h> | ||
20 | #include <linux/kernel.h> | 16 | #include <linux/kernel.h> |
21 | #include <linux/string.h> | 17 | #include <linux/string.h> |
18 | #include <bcmdefs.h> | ||
19 | #include <osl.h> | ||
22 | #include <linuxver.h> | 20 | #include <linuxver.h> |
23 | #include <stdarg.h> | 21 | #include <stdarg.h> |
24 | #include <bcmutils.h> | 22 | #include <bcmutils.h> |
diff --git a/drivers/staging/brcm80211/util/bcmutils.c b/drivers/staging/brcm80211/util/bcmutils.c index 5635e8698acc..7ac64b6c00f6 100644 --- a/drivers/staging/brcm80211/util/bcmutils.c +++ b/drivers/staging/brcm80211/util/bcmutils.c | |||
@@ -14,13 +14,12 @@ | |||
14 | * CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. | 14 | * CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. |
15 | */ | 15 | */ |
16 | 16 | ||
17 | #include <typedefs.h> | ||
18 | #include <bcmdefs.h> | ||
19 | #include <stdarg.h> | ||
20 | #include <osl.h> | ||
21 | #include <linux/ctype.h> | 17 | #include <linux/ctype.h> |
22 | #include <linux/kernel.h> | 18 | #include <linux/kernel.h> |
23 | #include <linux/string.h> | 19 | #include <linux/string.h> |
20 | #include <bcmdefs.h> | ||
21 | #include <stdarg.h> | ||
22 | #include <osl.h> | ||
24 | #include <linuxver.h> | 23 | #include <linuxver.h> |
25 | #include <bcmutils.h> | 24 | #include <bcmutils.h> |
26 | #include <siutils.h> | 25 | #include <siutils.h> |
diff --git a/drivers/staging/brcm80211/util/bcmwifi.c b/drivers/staging/brcm80211/util/bcmwifi.c index b83b12f0094d..1bb6c78eece7 100644 --- a/drivers/staging/brcm80211/util/bcmwifi.c +++ b/drivers/staging/brcm80211/util/bcmwifi.c | |||
@@ -13,12 +13,9 @@ | |||
13 | * OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN | 13 | * OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN |
14 | * CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. | 14 | * CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. |
15 | */ | 15 | */ |
16 | |||
17 | #include <typedefs.h> | ||
18 | |||
19 | #include <osl.h> | ||
20 | #include <linux/ctype.h> | 16 | #include <linux/ctype.h> |
21 | #include <linux/kernel.h> | 17 | #include <linux/kernel.h> |
18 | #include <bcmdefs.h> | ||
22 | #include <bcmutils.h> | 19 | #include <bcmutils.h> |
23 | #include <bcmwifi.h> | 20 | #include <bcmwifi.h> |
24 | 21 | ||
diff --git a/drivers/staging/brcm80211/util/hnddma.c b/drivers/staging/brcm80211/util/hnddma.c index 3edef39962a7..fe503e7de563 100644 --- a/drivers/staging/brcm80211/util/hnddma.c +++ b/drivers/staging/brcm80211/util/hnddma.c | |||
@@ -14,7 +14,6 @@ | |||
14 | * CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. | 14 | * CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. |
15 | */ | 15 | */ |
16 | 16 | ||
17 | #include <typedefs.h> | ||
18 | #include <linux/kernel.h> | 17 | #include <linux/kernel.h> |
19 | #include <linux/string.h> | 18 | #include <linux/string.h> |
20 | #include <linuxver.h> | 19 | #include <linuxver.h> |
diff --git a/drivers/staging/brcm80211/util/hndpmu.c b/drivers/staging/brcm80211/util/hndpmu.c index f8deb1c51607..a8f3306c1d2b 100644 --- a/drivers/staging/brcm80211/util/hndpmu.c +++ b/drivers/staging/brcm80211/util/hndpmu.c | |||
@@ -13,13 +13,11 @@ | |||
13 | * OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN | 13 | * OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN |
14 | * CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. | 14 | * CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. |
15 | */ | 15 | */ |
16 | 16 | #include <linux/kernel.h> | |
17 | #include <typedefs.h> | ||
18 | #include <bcmdefs.h> | ||
19 | #include <osl.h> | ||
20 | #include <linux/string.h> | 17 | #include <linux/string.h> |
21 | #include <linuxver.h> | 18 | #include <linuxver.h> |
22 | #include <linux/kernel.h> | 19 | #include <bcmdefs.h> |
20 | #include <osl.h> | ||
23 | #include <bcmutils.h> | 21 | #include <bcmutils.h> |
24 | #include <siutils.h> | 22 | #include <siutils.h> |
25 | #include <bcmdevs.h> | 23 | #include <bcmdevs.h> |
diff --git a/drivers/staging/brcm80211/util/linux_osl.c b/drivers/staging/brcm80211/util/linux_osl.c index 34450a4f0cbf..2bb5b8722df6 100644 --- a/drivers/staging/brcm80211/util/linux_osl.c +++ b/drivers/staging/brcm80211/util/linux_osl.c | |||
@@ -14,19 +14,18 @@ | |||
14 | * CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. | 14 | * CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. |
15 | */ | 15 | */ |
16 | 16 | ||
17 | #include <typedefs.h> | 17 | #include <linux/delay.h> |
18 | #include <linux/fs.h> | ||
19 | #ifdef mips | ||
20 | #include <asm/paccess.h> | ||
21 | #endif /* mips */ | ||
18 | #include <bcmendian.h> | 22 | #include <bcmendian.h> |
19 | #include <linuxver.h> | 23 | #include <linuxver.h> |
20 | #include <bcmdefs.h> | 24 | #include <bcmdefs.h> |
21 | #include <osl.h> | 25 | #include <osl.h> |
22 | #include <bcmutils.h> | 26 | #include <bcmutils.h> |
23 | #include <linux/delay.h> | ||
24 | #ifdef mips | ||
25 | #include <asm/paccess.h> | ||
26 | #endif /* mips */ | ||
27 | #include <pcicfg.h> | 27 | #include <pcicfg.h> |
28 | 28 | ||
29 | #include <linux/fs.h> | ||
30 | 29 | ||
31 | #define PCI_CFG_RETRY 10 | 30 | #define PCI_CFG_RETRY 10 |
32 | 31 | ||
diff --git a/drivers/staging/brcm80211/util/nicpci.c b/drivers/staging/brcm80211/util/nicpci.c index 9ffbe10dbd7f..23f86dd7b159 100644 --- a/drivers/staging/brcm80211/util/nicpci.c +++ b/drivers/staging/brcm80211/util/nicpci.c | |||
@@ -14,7 +14,6 @@ | |||
14 | * CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. | 14 | * CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. |
15 | */ | 15 | */ |
16 | 16 | ||
17 | #include <typedefs.h> | ||
18 | #include <linux/string.h> | 17 | #include <linux/string.h> |
19 | #include <linuxver.h> | 18 | #include <linuxver.h> |
20 | #include <bcmdefs.h> | 19 | #include <bcmdefs.h> |
diff --git a/drivers/staging/brcm80211/util/nvram/nvram_ro.c b/drivers/staging/brcm80211/util/nvram/nvram_ro.c index 7c5f88ddb4b1..f80375cd6801 100644 --- a/drivers/staging/brcm80211/util/nvram/nvram_ro.c +++ b/drivers/staging/brcm80211/util/nvram/nvram_ro.c | |||
@@ -15,9 +15,8 @@ | |||
15 | */ | 15 | */ |
16 | 16 | ||
17 | #include <linux/slab.h> | 17 | #include <linux/slab.h> |
18 | #include <typedefs.h> | ||
19 | #include <bcmdefs.h> | ||
20 | #include <linux/string.h> | 18 | #include <linux/string.h> |
19 | #include <bcmdefs.h> | ||
21 | #include <osl.h> | 20 | #include <osl.h> |
22 | #include <bcmutils.h> | 21 | #include <bcmutils.h> |
23 | #include <siutils.h> | 22 | #include <siutils.h> |
diff --git a/drivers/staging/brcm80211/util/qmath.c b/drivers/staging/brcm80211/util/qmath.c index 108fc2b04468..40c9929de2bb 100644 --- a/drivers/staging/brcm80211/util/qmath.c +++ b/drivers/staging/brcm80211/util/qmath.c | |||
@@ -14,6 +14,7 @@ | |||
14 | * CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. | 14 | * CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. |
15 | */ | 15 | */ |
16 | 16 | ||
17 | #include <linux/types.h> | ||
17 | #include "qmath.h" | 18 | #include "qmath.h" |
18 | 19 | ||
19 | /* | 20 | /* |
diff --git a/drivers/staging/brcm80211/util/sbutils.c b/drivers/staging/brcm80211/util/sbutils.c index ca49a805c996..e4c0baba553d 100644 --- a/drivers/staging/brcm80211/util/sbutils.c +++ b/drivers/staging/brcm80211/util/sbutils.c | |||
@@ -14,7 +14,7 @@ | |||
14 | * CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. | 14 | * CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. |
15 | */ | 15 | */ |
16 | 16 | ||
17 | #include <typedefs.h> | 17 | #include <linux/types.h> |
18 | #include <bcmdefs.h> | 18 | #include <bcmdefs.h> |
19 | #include <osl.h> | 19 | #include <osl.h> |
20 | #include <bcmutils.h> | 20 | #include <bcmutils.h> |
diff --git a/drivers/staging/brcm80211/util/siutils.c b/drivers/staging/brcm80211/util/siutils.c index 15e4ff449a2f..f3ea7e1a7aef 100644 --- a/drivers/staging/brcm80211/util/siutils.c +++ b/drivers/staging/brcm80211/util/siutils.c | |||
@@ -14,11 +14,10 @@ | |||
14 | * CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. | 14 | * CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. |
15 | */ | 15 | */ |
16 | 16 | ||
17 | #include <typedefs.h> | ||
18 | #include <bcmdefs.h> | ||
19 | #include <osl.h> | ||
20 | #include <linux/kernel.h> | 17 | #include <linux/kernel.h> |
21 | #include <linux/string.h> | 18 | #include <linux/string.h> |
19 | #include <bcmdefs.h> | ||
20 | #include <osl.h> | ||
22 | #include <linuxver.h> | 21 | #include <linuxver.h> |
23 | #include <bcmutils.h> | 22 | #include <bcmutils.h> |
24 | #include <siutils.h> | 23 | #include <siutils.h> |