]> git.karo-electronics.de Git - mv-sheeva.git/commitdiff
staging: brcm80211: deleted sbconfig.h, renamed sbcc.h
authorRoland Vossen <rvossen@broadcom.com>
Wed, 1 Jun 2011 11:45:30 +0000 (13:45 +0200)
committerGreg Kroah-Hartman <gregkh@suse.de>
Tue, 7 Jun 2011 19:37:02 +0000 (12:37 -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>
15 files changed:
drivers/staging/brcm80211/brcmfmac/dhd_sdio.c
drivers/staging/brcm80211/brcmsmac/aiutils.c
drivers/staging/brcm80211/brcmsmac/bcmotp.c
drivers/staging/brcm80211/brcmsmac/bcmsrom.c
drivers/staging/brcm80211/brcmsmac/nicpci.c
drivers/staging/brcm80211/brcmsmac/nvram.c
drivers/staging/brcm80211/brcmsmac/phy/wlc_phy_cmn.c
drivers/staging/brcm80211/brcmsmac/phy/wlc_phy_n.c
drivers/staging/brcm80211/brcmsmac/wlc_bmac.c
drivers/staging/brcm80211/brcmsmac/wlc_phy_shim.c
drivers/staging/brcm80211/brcmsmac/wlc_pmu.c
drivers/staging/brcm80211/include/bcmdefs.h
drivers/staging/brcm80211/include/bcmsoc.h
drivers/staging/brcm80211/include/chipcommon.h [moved from drivers/staging/brcm80211/include/sbchipc.h with 100% similarity]
drivers/staging/brcm80211/include/sbconfig.h [deleted file]

index 0e327b3f52d49763cdfda3630c93b680f25fde58..5b1b4c2ef6d16c0eccee2305ddd06fc4e4e7162a 100644 (file)
@@ -131,7 +131,7 @@ typedef struct {
 } rte_cons_t;
 
 #endif                         /* DHD_DEBUG */
-#include <sbchipc.h>
+#include <chipcommon.h>
 #include <sbdma.h>
 
 #include <sdio.h>
index e06589592e0c868ae7c633e53c0900f06da59f67..2de6cfb5fa679f734247980f6ad3c9122bf1d3fc 100644 (file)
@@ -23,7 +23,7 @@
 #include <bcmutils.h>
 #include <aiutils.h>
 #include <bcmsoc.h>
-#include <sbchipc.h>
+#include <chipcommon.h>
 #include <bcmdevs.h>
 
 /* ********** from siutils.c *********** */
index dab71fbd5b676ea86909192b2784373b1ad6b0c4..2b7f0618ae0334a8f47c1b07cdaa2417a3e0a95a 100644 (file)
@@ -26,7 +26,7 @@
 #include <bcmutils.h>
 #include <aiutils.h>
 #include <bcmsoc.h>
-#include <sbchipc.h>
+#include <chipcommon.h>
 #include <bcmotp.h>
 
 #define OTPS_GUP_MASK          0x00000f00
index c776a7691b8a7667158b2b23006f177404e85b96..2946d060728ba1048ee60caa87b348b1032b6284 100644 (file)
@@ -23,7 +23,7 @@
 #include "wlc_types.h"
 #include <bcmutils.h>
 #include <bcmsoc.h>
-#include <sbchipc.h>
+#include <chipcommon.h>
 #include <bcmdevs.h>
 #include <nicpci.h>
 #include <aiutils.h>
index 8bc65e0cdf0b3b5536220837f81d636e346e82cb..6b9cb6b6355417e102470a41c931efab0a9c56c0 100644 (file)
@@ -23,7 +23,7 @@
 #include <aiutils.h>
 #include <bcmsoc.h>
 #include <bcmdevs.h>
-#include <sbchipc.h>
+#include <chipcommon.h>
 #include <nicpci.h>
 
 /* SPROM offsets */
index 65fee2f658ab85f21da6f8a5441d7fdd0511b131..5cef837d69108f8e5601f0c258edf80290d30edc 100644 (file)
@@ -19,7 +19,7 @@
 #include <bcmdefs.h>
 #include <bcmutils.h>
 #include <bcmnvram.h>
-#include <sbchipc.h>
+#include <chipcommon.h>
 #include <bcmdevs.h>
 #include <bcmsoc.h>
 
index 1e9865fb9551b743068dad432a938f31e34f1572..d54e264eae7637b208831a71bbc8b2c89c70e99b 100644 (file)
@@ -25,7 +25,7 @@
 
 #include <bcmdefs.h>
 #include <bcmnvram.h>
-#include <sbchipc.h>
+#include <chipcommon.h>
 #include <bcmdevs.h>
 #include <sbdma.h>
 
index 78d8cbe2887375f9de38a92545af7f8852061ab4..bc362f33e690c963499df0f980f005b758179a3d 100644 (file)
@@ -21,7 +21,7 @@
 #include <linux/delay.h>
 #include <linux/pci.h>
 #include <aiutils.h>
-#include <sbchipc.h>
+#include <chipcommon.h>
 #include <wlc_pmu.h>
 
 #include <bcmdevs.h>
index d069ebea5af01bb8d4333215b1ce5a65c8174d75..0f876a7e69da9b21fbcce8ee95ae295e254ff0f8 100644 (file)
@@ -29,7 +29,7 @@
 #include <bcmotp.h>
 #include <bcmutils.h>
 #include <bcmnvram.h>
-#include <sbchipc.h>
+#include <chipcommon.h>
 #include <nicpci.h>
 #include <sbdma.h>
 #include <bcmdma.h>
index c94b4592394e2180701d6ffc81e47cec889da0fe..b97fa3e9f7c5982c986b7df17b4f37c5c7a6b2a9 100644 (file)
@@ -28,7 +28,7 @@
 #include <bcmutils.h>
 #include <bcmwifi.h>
 #include <aiutils.h>
-#include <sbchipc.h>
+#include <chipcommon.h>
 #include <sbdma.h>
 #include <bcmdma.h>
 #include <wlc_pmu.h>
index ab2c0b73147dbb2432d334208ac42be0dedb6f54..047cd1adc798c7adc74d5251267e7b1d0c8fd246 100644 (file)
@@ -19,7 +19,7 @@
 #include <linux/io.h>
 
 #include <bcmdevs.h>
-#include <sbchipc.h>
+#include <chipcommon.h>
 #include <bcmutils.h>
 #include <bcmnvram.h>
 #include "wlc_pmu.h"
index cf9dc0e132d493d27fafa3f762f9cd7807c32c96..304d8edc6c7b78e3ff1f3d3cbf56656649b6d960 100644 (file)
@@ -95,4 +95,16 @@ typedef struct wl_rateset {
 #define PM_MAX 1
 #define PM_FAST 2
 
+/*
+ * Sonics Configuration Space Registers.
+ */
+#define        SBCONFIGOFF             0xf00   /* core sbconfig regs are top 256bytes of regs */
+
+/* cpp contortions to concatenate w/arg prescan */
+#ifndef        PAD
+#define        _PADLINE(line)  pad ## line
+#define        _XSTR(line)     _PADLINE(line)
+#define        PAD             _XSTR(__LINE__)
+#endif
+
 #endif                         /* _bcmdefs_h_ */
index 6435686b329f4ee78cae130639c671047c81ebe9..012e465ba4c40c417a77b725ba756b3df533ae1f 100644 (file)
@@ -18,7 +18,6 @@
 #define        _HNDSOC_H
 
 /* Include the soci specific files */
-#include <sbconfig.h>
 #include <aidmp.h>
 
 /*
diff --git a/drivers/staging/brcm80211/include/sbconfig.h b/drivers/staging/brcm80211/include/sbconfig.h
deleted file mode 100644 (file)
index 68e4b54..0000000
+++ /dev/null
@@ -1,32 +0,0 @@
-/*
- * Copyright (c) 2010 Broadcom Corporation
- *
- * Permission to use, copy, modify, and/or distribute this software for any
- * purpose with or without fee is hereby granted, provided that the above
- * copyright notice and this permission notice appear in all copies.
- *
- * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
- * WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
- * MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY
- * SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
- * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION
- * OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN
- * CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
- */
-
-#ifndef        _SBCONFIG_H
-#define        _SBCONFIG_H
-
-/* cpp contortions to concatenate w/arg prescan */
-#ifndef PAD
-#define        _PADLINE(line)  pad ## line
-#define        _XSTR(line)     _PADLINE(line)
-#define        PAD             _XSTR(__LINE__)
-#endif
-
-/*
- * Sonics Configuration Space Registers.
- */
-#define        SBCONFIGOFF             0xf00   /* core sbconfig regs are top 256bytes of regs */
-
-#endif                         /* _SBCONFIG_H */