]> git.karo-electronics.de Git - linux-beck.git/commitdiff
staging: brcm80211: renamed utility module related files
authorRoland Vossen <rvossen@broadcom.com>
Wed, 1 Jun 2011 11:45:52 +0000 (13:45 +0200)
committerGreg Kroah-Hartman <gregkh@suse.de>
Tue, 7 Jun 2011 19:43:27 +0000 (12:43 -0700)
Code cleanup.

Signed-off-by: Roland Vossen <rvossen@broadcom.com>
Reviewed-by: Arend van Spriel <arend@broadcom.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
37 files changed:
drivers/staging/brcm80211/Makefile
drivers/staging/brcm80211/brcmfmac/bcmsdh.c
drivers/staging/brcm80211/brcmfmac/bcmsdh_linux.c
drivers/staging/brcm80211/brcmfmac/bcmsdh_sdmmc.c
drivers/staging/brcm80211/brcmfmac/bcmsdh_sdmmc_linux.c
drivers/staging/brcm80211/brcmfmac/dhd_cdc.c
drivers/staging/brcm80211/brcmfmac/dhd_common.c
drivers/staging/brcm80211/brcmfmac/dhd_custom_gpio.c
drivers/staging/brcm80211/brcmfmac/dhd_linux.c
drivers/staging/brcm80211/brcmfmac/dhd_sdio.c
drivers/staging/brcm80211/brcmfmac/wl_cfg80211.c
drivers/staging/brcm80211/brcmfmac/wl_iw.c
drivers/staging/brcm80211/brcmsmac/aiutils.c
drivers/staging/brcm80211/brcmsmac/bcmotp.c
drivers/staging/brcm80211/brcmsmac/bcmsrom.c
drivers/staging/brcm80211/brcmsmac/brcms_mac80211.c
drivers/staging/brcm80211/brcmsmac/dma.c
drivers/staging/brcm80211/brcmsmac/nicpci.c
drivers/staging/brcm80211/brcmsmac/nvram.c
drivers/staging/brcm80211/brcmsmac/phy/wlc_phy_hal.h
drivers/staging/brcm80211/brcmsmac/phy/wlc_phy_int.h
drivers/staging/brcm80211/brcmsmac/wlc_alloc.c
drivers/staging/brcm80211/brcmsmac/wlc_ampdu.c
drivers/staging/brcm80211/brcmsmac/wlc_antsel.c
drivers/staging/brcm80211/brcmsmac/wlc_bmac.c
drivers/staging/brcm80211/brcmsmac/wlc_channel.c
drivers/staging/brcm80211/brcmsmac/wlc_main.c
drivers/staging/brcm80211/brcmsmac/wlc_phy_shim.c
drivers/staging/brcm80211/brcmsmac/wlc_pmu.c
drivers/staging/brcm80211/brcmsmac/wlc_pub.h
drivers/staging/brcm80211/brcmsmac/wlc_rate.c
drivers/staging/brcm80211/brcmsmac/wlc_stf.c
drivers/staging/brcm80211/brcmutil/Makefile [moved from drivers/staging/brcm80211/util/Makefile with 94% similarity]
drivers/staging/brcm80211/brcmutil/utils.c [moved from drivers/staging/brcm80211/util/bcmutils.c with 99% similarity]
drivers/staging/brcm80211/brcmutil/wifi.c [moved from drivers/staging/brcm80211/util/bcmwifi.c with 98% similarity]
drivers/staging/brcm80211/include/brcmu_utils.h [moved from drivers/staging/brcm80211/include/bcmutils.h with 100% similarity]
drivers/staging/brcm80211/include/brcmu_wifi.h [moved from drivers/staging/brcm80211/include/bcmwifi.h with 100% similarity]

index e7b3f27847cf179d0601e5c7d483dce3a6d4ff51..db9a57e4607a7cfac61a6a45f2331516f55dc1e9 100644 (file)
@@ -19,6 +19,6 @@
 subdir-ccflags-y                                       := -DBCMDMA32
 subdir-ccflags-$(CONFIG_BRCMDBG)       += -DBCMDBG -DBCMDBG_ASSERT
 
-obj-$(CONFIG_BRCMUTIL) += util/
+obj-$(CONFIG_BRCMUTIL) += brcmutil/
 obj-$(CONFIG_BRCMFMAC) += brcmfmac/
 obj-$(CONFIG_BRCMSMAC) += brcmsmac/
index 14c07e602ee37c6c63f0d17319a08599e3cd07a8..352ba4bafda3bbfa39da394c164c60e56a14b7e4 100644 (file)
@@ -21,8 +21,8 @@
 #include <linux/sched.h>
 #include <bcmdefs.h>
 #include <bcmdevs.h>
-#include <bcmutils.h>
-#include <bcmwifi.h>
+#include <brcmu_utils.h>
+#include <brcmu_wifi.h>
 #include <bcmsoc.h>
 
 #include <bcmsdh.h>            /* BRCM API for SDIO
index c0b9330aa4c424ac6a9dae0c3837383d5ec90e22..e7638f4eca37cf531e09f8917764f86e2a563e5a 100644 (file)
@@ -27,8 +27,8 @@
 
 #include <bcmdefs.h>
 #include <bcmdevs.h>
-#include <bcmutils.h>
-#include <bcmwifi.h>
+#include <brcmu_utils.h>
+#include <brcmu_wifi.h>
 
 #if defined(OOB_INTR_ONLY)
 #include <linux/irq.h>
index 1b15704257a96428924c2c5b52469e3c2d2bfefa..8dadfb662bf431dfeb8c2cb3365d31322f5183b0 100644 (file)
@@ -18,8 +18,8 @@
 #include <linux/mmc/sdio.h>
 #include <bcmdefs.h>
 #include <bcmdevs.h>
-#include <bcmutils.h>
-#include <bcmwifi.h>
+#include <brcmu_utils.h>
+#include <brcmu_wifi.h>
 #include <bcmsdbus.h>          /* bcmsdh to/from specific controller APIs */
 #include <sdiovar.h>           /* ioctl/iovars */
 
index fbc9abd73799c00845fb2be01b633fc4329a1b66..e1b2592023314a3064c27b5ebe02f12fd48b3973 100644 (file)
@@ -18,8 +18,8 @@
 #include <linux/netdevice.h>
 #include <net/cfg80211.h>
 #include <bcmdefs.h>
-#include <bcmutils.h>
-#include <bcmwifi.h>
+#include <brcmu_utils.h>
+#include <brcmu_wifi.h>
 #include <bcmsdbus.h>          /* bcmsdh to/from specific controller APIs */
 #include <sdiovar.h>           /* to get msglevel bit values */
 
index 759e899ba3c566b77c5ae276cc3569df56210d32..dd872f4d1b0f7d17239f13bb7b3b44680e1611a9 100644 (file)
@@ -19,8 +19,8 @@
 #include <linux/sched.h>
 #include <bcmdefs.h>
 
-#include <bcmutils.h>
-#include <bcmwifi.h>
+#include <brcmu_utils.h>
+#include <brcmu_wifi.h>
 
 #include <dngl_stats.h>
 #include <dhd.h>
index 5b0554d94206ab52adb4ad6339716c05f060f289..a8504bb2a5175d297ff4ddd1c647f56d154116ab 100644 (file)
 #include <linux/string.h>
 #include <linux/sched.h>
 #include <bcmdefs.h>
-#include <bcmwifi.h>
+#include <brcmu_wifi.h>
 #include <linux/netdevice.h>
 #include <asm/unaligned.h>
-#include <bcmutils.h>
+#include <brcmu_utils.h>
 #include <dngl_stats.h>
 #include <dhd.h>
 #include <dhd_bus.h>
index a9423337654701ad1ca872cd969dd950b3c0b230..831f32447e390b6cf287b4220f240beee7c10a28 100644 (file)
@@ -16,9 +16,9 @@
 
 #include <linux/netdevice.h>
 #include <linux/sched.h>
-#include <bcmutils.h>
+#include <brcmu_utils.h>
 #include <bcmdefs.h>
-#include <bcmwifi.h>
+#include <brcmu_wifi.h>
 
 #include <dngl_stats.h>
 #include <dhd.h>
index 7f1cf8b421a03ec3aa4ab82272b83ca457986d20..adcf82daee9839e9a05197dc970e2c57f493ed7e 100644 (file)
@@ -33,8 +33,8 @@
 #include <linux/uaccess.h>
 #include <net/cfg80211.h>
 #include <bcmdefs.h>
-#include <bcmutils.h>
-#include <bcmwifi.h>
+#include <brcmu_utils.h>
+#include <brcmu_wifi.h>
 
 #include <dngl_stats.h>
 #include <dhd.h>
index cc3e47da3ba04fa64ba259383d0b94f68bb0608f..75393e765fce0deb511ae8040e85f5b80662b13c 100644 (file)
@@ -26,8 +26,8 @@
 #include <bcmsdh.h>
 
 #include <bcmdefs.h>
-#include <bcmwifi.h>
-#include <bcmutils.h>
+#include <brcmu_wifi.h>
+#include <brcmu_utils.h>
 #include <bcmdevs.h>
 
 #include <bcmsoc.h>
index 13a643417560fdffdc6feac1862acad74335f52c..38453cfa42adf077cd1cf83f8d7e3e00f9a4fb3d 100644 (file)
@@ -18,9 +18,9 @@
 #include <linux/if_arp.h>
 #include <linux/sched.h>
 
-#include <bcmutils.h>
+#include <brcmu_utils.h>
 #include <bcmdefs.h>
-#include <bcmwifi.h>
+#include <brcmu_wifi.h>
 
 #include <asm/uaccess.h>
 
index 99a49f97ced30b354b1dd18f07fa78ea58459935..f5725ec7842b1c917499693950f09e57b00304d1 100644 (file)
@@ -21,8 +21,8 @@
 #include <linux/etherdevice.h>
 #include <linux/wireless.h>
 
-#include <bcmutils.h>
-#include <bcmwifi.h>
+#include <brcmu_utils.h>
+#include <brcmu_wifi.h>
 
 #include <linux/if_arp.h>
 #include <asm/uaccess.h>
index d57908b08acd98e1417272ff44bba83079addf45..b00cda9c583b01da64cb0488097c75570e207e11 100644 (file)
@@ -20,7 +20,7 @@
 #include <bcmdefs.h>
 #include <linux/module.h>
 #include <linux/pci.h>
-#include <bcmutils.h>
+#include <brcmu_utils.h>
 #include <aiutils.h>
 #include <bcmsoc.h>
 #include <chipcommon.h>
index cca64e4f2a6290103347a79a54012126b327aee3..4a0deecbfaf67bc44f01f5dd765af5c77a72d503 100644 (file)
@@ -23,7 +23,7 @@
 
 #include <bcmdefs.h>
 #include <bcmdevs.h>
-#include <bcmutils.h>
+#include <brcmu_utils.h>
 #include <aiutils.h>
 #include <bcmsoc.h>
 #include <chipcommon.h>
index 59098b0885194db9225aafd564b09381551b48b0..70b7ab7c3a23b7b5a4ce5d5ba467cc6ff32156eb 100644 (file)
@@ -21,7 +21,7 @@
 #include <linux/pci.h>
 #include <stdarg.h>
 #include "wlc_types.h"
-#include <bcmutils.h>
+#include <brcmu_utils.h>
 #include <bcmsoc.h>
 #include <chipcommon.h>
 #include <bcmdevs.h>
index 71acc4ef77e060f3fd7cd3f702079208290feb64..509cf2b2003585c766b22237590b4fcdf5090dfc 100644 (file)
@@ -26,8 +26,8 @@
 #include <linux/firmware.h>
 #include <net/mac80211.h>
 #include <bcmdefs.h>
-#include <bcmwifi.h>
-#include <bcmutils.h>
+#include <brcmu_wifi.h>
+#include <brcmu_utils.h>
 #include <bcmnvram.h>
 #include <nicpci.h>
 #include "bcmdma.h"
index ad389bca4e55c2c11a40a35328d746c0842402e6..183baf88b05d386bb5d4ec9c6aea8bbce9163554 100644 (file)
@@ -21,7 +21,7 @@
 #include <bcmdefs.h>
 #include <bcmdevs.h>
 #include <bcmsoc.h>
-#include <bcmutils.h>
+#include <brcmu_utils.h>
 #include <aiutils.h>
 
 #include "wlc_types.h"
index 8a956f5f26eee1f3e48ad08896f537e224754ec9..868fba2656ae5939ff5e0160b655a4559060593b 100644 (file)
@@ -18,7 +18,7 @@
 #include <linux/string.h>
 #include <linux/pci.h>
 #include <bcmdefs.h>
-#include <bcmutils.h>
+#include <brcmu_utils.h>
 #include <bcmnvram.h>
 #include <aiutils.h>
 #include <bcmsoc.h>
index 5cef837d69108f8e5601f0c258edf80290d30edc..3509469214db6175e8dbce00ae73e4eb9e76f612 100644 (file)
@@ -17,7 +17,7 @@
 #include <linux/slab.h>
 #include <linux/string.h>
 #include <bcmdefs.h>
-#include <bcmutils.h>
+#include <brcmu_utils.h>
 #include <bcmnvram.h>
 #include <chipcommon.h>
 #include <bcmdevs.h>
index 6d4473c5a56bf331d8f5eabb506864e25db738ac..6488cdfb65ae6d93df42dc25c1066e8cc62d8e55 100644 (file)
@@ -25,7 +25,7 @@
 #include <d11.h>
 #include <wlc_phy_shim.h>
 #include <net/mac80211.h>      /* struct wiphy */
-#include "bcmwifi.h"           /* chanspec_t */
+#include "brcmu_wifi.h"                /* chanspec_t */
 
 #define        IDCODE_VER_MASK         0x0000000f
 #define        IDCODE_VER_SHIFT        0
index 43d0fe14f243af5d77d5e18bd7ddede1511fb0b7..3ee29f0be4957bccd2c5c1f3b81785d468c81b1e 100644 (file)
@@ -19,7 +19,7 @@
 
 #include <linux/kernel.h>
 #include <bcmdefs.h>
-#include <bcmutils.h>
+#include <brcmu_utils.h>
 
 #include <wlc_phy_hal.h>
 
index 619247a862507d302903ef8b10f024096e69ff6b..77caf067df49d2efb69a5446bd26311b89284612 100644 (file)
@@ -17,7 +17,7 @@
 #include <linux/types.h>
 
 #include <bcmdefs.h>
-#include <bcmutils.h>
+#include <brcmu_utils.h>
 #include <aiutils.h>
 #include "bcmdma.h"
 
index e1920ae3adbaff69bd84d534b19125f54aaad5fa..36684512fe90596ed0371e887d9028b568fd246e 100644 (file)
@@ -17,7 +17,7 @@
 #include <net/mac80211.h>
 
 #include <bcmdefs.h>
-#include <bcmutils.h>
+#include <brcmu_utils.h>
 #include <aiutils.h>
 #include "bcmdma.h"
 #include <bcmdma.h>
index ea27b66c56e6b1bc3d998b65b304710377a17888..10b9b7985e255646eac8be554fe38b4caf40b053 100644 (file)
@@ -21,7 +21,7 @@
 #include <linux/pci.h>
 
 #include <bcmdefs.h>
-#include <bcmutils.h>
+#include <brcmu_utils.h>
 #include <bcmnvram.h>
 #include <aiutils.h>
 #include <bcmdevs.h>
index fdd10efbfe9ea7be8c9cb1eb27c3f18b0f4d77ea..d23dd11c904c085116fe3ce8add24e6ff2c12f60 100644 (file)
 
 #include <bcmdefs.h>
 #include <bcmdevs.h>
-#include <bcmwifi.h>
+#include <brcmu_wifi.h>
 #include <aiutils.h>
 #include <bcmsrom.h>
 #include <bcmotp.h>
-#include <bcmutils.h>
+#include <brcmu_utils.h>
 #include <bcmnvram.h>
 #include <chipcommon.h>
 #include <nicpci.h>
index ac84ddcd6aa3e3f4a4d0ab02b067523efed7b08b..c4fcb441eed464104be94a174aeaf36d31ef6a6a 100644 (file)
@@ -20,7 +20,7 @@
 #include <linux/pci.h>
 
 #include <bcmdefs.h>
-#include <bcmutils.h>
+#include <brcmu_utils.h>
 #include <bcmnvram.h>
 #include <aiutils.h>
 #include "bcmdma.h"
index 1e79031c1ea4f3cdb7c874c61bb8b2464534ce80..752f0d18aaab449cf4abae124311f4dbf2cc8449 100644 (file)
@@ -21,8 +21,8 @@
 
 #include <bcmdefs.h>
 #include <bcmdevs.h>
-#include <bcmutils.h>
-#include <bcmwifi.h>
+#include <brcmu_utils.h>
+#include <brcmu_wifi.h>
 #include <bcmnvram.h>
 #include <aiutils.h>
 #include <bcmsrom.h>
index d33f7200a20e85c5a974f8802de3d00f581c5935..2745743b5e8caf4ca121572ae62e2588b6a7bc45 100644 (file)
@@ -25,8 +25,8 @@
 #include <linux/module.h>
 
 #include <bcmdefs.h>
-#include <bcmutils.h>
-#include <bcmwifi.h>
+#include <brcmu_utils.h>
+#include <brcmu_wifi.h>
 #include <aiutils.h>
 #include <chipcommon.h>
 #include "bcmdma.h"
index 047cd1adc798c7adc74d5251267e7b1d0c8fd246..9a99186e7af8a10c54ed546397e874a510c014db 100644 (file)
@@ -20,7 +20,7 @@
 
 #include <bcmdevs.h>
 #include <chipcommon.h>
-#include <bcmutils.h>
+#include <brcmu_utils.h>
 #include <bcmnvram.h>
 #include "wlc_pmu.h"
 
index de324408ddb2a13781b1acf1d718c3c55c7d4fd6..8536efedf1b89271c82615a1123888e02bdc2cea 100644 (file)
@@ -18,7 +18,7 @@
 #define _wlc_pub_h_
 
 #include "wlc_types.h"         /* forward structure declarations */
-#include "bcmwifi.h"           /* for chanspec_t */
+#include "brcmu_wifi.h"                /* for chanspec_t */
 
 #define        WLC_NUMRATES    16      /* max # of rates in a rateset */
 #define        MAXMULTILIST    32      /* max # multicast addresses */
index 88aa134ad67aefde877acc1bd76a10a1c87390c8..3625c72b25dedd5e45a8529775c81efaf4efd34d 100644 (file)
@@ -17,7 +17,7 @@
 #include <linux/module.h>
 
 #include <bcmdefs.h>
-#include <bcmutils.h>
+#include <brcmu_utils.h>
 #include <aiutils.h>
 #include "bcmdma.h"
 
index b7191af0669787bb5587b162b1b9ee345f28c9c4..41c1f96acb42bbc07025a895100a0114c3637ef7 100644 (file)
@@ -18,9 +18,9 @@
 #include <linux/module.h>
 
 #include <bcmdefs.h>
-#include <bcmutils.h>
+#include <brcmu_utils.h>
 #include <aiutils.h>
-#include <bcmwifi.h>
+#include <brcmu_wifi.h>
 #include <bcmnvram.h>
 #include "bcmdma.h"
 
similarity index 94%
rename from drivers/staging/brcm80211/util/Makefile
rename to drivers/staging/brcm80211/brcmutil/Makefile
index f9b36cafdc87712e4dd3ff7b395d8fbe14d5d4ab..6403423c0212e00aab9000b729fb6ec037ca7375 100644 (file)
 # CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
 
 ccflags-y :=                           \
-       -Idrivers/staging/brcm80211/util \
+       -Idrivers/staging/brcm80211/brcmutil \
        -Idrivers/staging/brcm80211/include
 
 BRCMUTIL_OFILES := \
-       bcmutils.o \
-       bcmwifi.o
+       utils.o \
+       wifi.o
 
 MODULEPFX := brcmutil
 
similarity index 99%
rename from drivers/staging/brcm80211/util/bcmutils.c
rename to drivers/staging/brcm80211/brcmutil/utils.c
index eb55ce46eaf10d7e1de3a1ca9a46b6bbe45f3238..d259e265352fff26b84b87045345b92bede2786d 100644 (file)
@@ -24,7 +24,7 @@
 #include <linux/printk.h>
 #include <bcmdefs.h>
 #include <stdarg.h>
-#include <bcmutils.h>
+#include <brcmu_utils.h>
 #include <bcmdevs.h>
 
 MODULE_AUTHOR("Broadcom Corporation");
similarity index 98%
rename from drivers/staging/brcm80211/util/bcmwifi.c
rename to drivers/staging/brcm80211/brcmutil/wifi.c
index 207cb8bfc4afb5d57edeeb9fe1b8d7bd35fb9751..2a3db0a008d02e8f4842513f265e6137c7f7229d 100644 (file)
@@ -17,8 +17,8 @@
 #include <linux/kernel.h>
 #include <linux/module.h>
 #include <bcmdefs.h>
-#include <bcmutils.h>
-#include <bcmwifi.h>
+#include <brcmu_utils.h>
+#include <brcmu_wifi.h>
 
 /*
  * Verify the chanspec is using a legal set of parameters, i.e. that the