]> git.karo-electronics.de Git - mv-sheeva.git/commitdiff
staging: brcm80211: separate hndpmu functionality for brcmsmac driver
authorArend van Spriel <arend@broadcom.com>
Tue, 3 May 2011 09:35:37 +0000 (11:35 +0200)
committerGreg Kroah-Hartman <gregkh@suse.de>
Tue, 3 May 2011 19:42:40 +0000 (12:42 -0700)
The hndpmu source file has functions for brcmfmac and brcmsmac driver
but it turns out that on function level there is no reuse so for
the brcmsmac its set of functions now reside in wlc_pmu.c.

Cc: devel@linuxdriverproject.org
Cc: linux-wireless@vger.kernel.org
Cc: Brett Rudley <brudley@broadcom.com>
Cc: Henry Ptasinski <henryp@broadcom.com>
Cc: Roland Vossen <rvossen@broadcom.com>
Signed-off-by: Arend van Spriel <arend@broadcom.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/staging/brcm80211/brcmsmac/Makefile
drivers/staging/brcm80211/brcmsmac/phy/wlc_phy_lcn.c
drivers/staging/brcm80211/brcmsmac/phy/wlc_phy_n.c
drivers/staging/brcm80211/brcmsmac/wlc_bmac.c
drivers/staging/brcm80211/brcmsmac/wlc_main.c
drivers/staging/brcm80211/brcmsmac/wlc_phy_shim.c
drivers/staging/brcm80211/brcmsmac/wlc_pmu.c [moved from drivers/staging/brcm80211/util/hndpmu.c with 99% similarity]
drivers/staging/brcm80211/brcmsmac/wlc_pmu.h [moved from drivers/staging/brcm80211/include/hndpmu.h with 100% similarity]
drivers/staging/brcm80211/util/siutils.c

index c4aafe5cf7f52f72c509db0501d1eab60e94feb4..65a1a25088595198604837a495a858f048919ee1 100644 (file)
@@ -38,6 +38,7 @@ BRCMSMAC_OFILES := \
        wlc_channel.o \
        wlc_main.o \
        wlc_phy_shim.o \
+       wlc_pmu.o \
        wlc_rate.o \
        wlc_stf.o \
        phy/wlc_phy_cmn.o \
@@ -52,7 +53,6 @@ BRCMSMAC_OFILES := \
        ../util/bcmotp.o \
        ../util/bcmsrom.o \
        ../util/hnddma.o \
-       ../util/hndpmu.o \
        ../util/nicpci.o \
        ../util/qmath.o \
        ../util/nvram/nvram_ro.o
index 4e7a20aaa761a30ae44859b3674c7ba00854f747..d9f625496c9b706db1c8da2782311e6eeffbd6fe 100644 (file)
@@ -22,7 +22,7 @@
 #include <qmath.h>
 #include <linux/pci.h>
 #include <siutils.h>
-#include <hndpmu.h>
+#include <wlc_pmu.h>
 
 #include <bcmdevs.h>
 #include <sbhnddma.h>
index 34a7b4e412b0ab4c2834a80afe8739f51a021a54..111b8e96b8dbef10fb613db2fda0f12b490890f9 100644 (file)
@@ -22,7 +22,7 @@
 #include <linux/pci.h>
 #include <siutils.h>
 #include <sbchipc.h>
-#include <hndpmu.h>
+#include <wlc_pmu.h>
 
 #include <bcmdevs.h>
 #include <sbhnddma.h>
index daeb36341a655a88c7ebbcac343c13d0005299bc..e9867ea0cc97dbd4e02d4eabb9eec86b3dcb294f 100644 (file)
@@ -35,9 +35,9 @@
 #include <pcicfg.h>
 #include <sbhnddma.h>
 #include <hnddma.h>
-#include <hndpmu.h>
 
 #include "wlc_types.h"
+#include "wlc_pmu.h"
 #include "d11.h"
 #include "wlc_cfg.h"
 #include "wlc_rate.h"
index b56d613f725b179b5eb9201634885676997c2819..ea12749555e2fa32a4ed5d78b82bce4dfbe06522 100644 (file)
@@ -29,8 +29,8 @@
 #include <wlioctl.h>
 #include <sbhnddma.h>
 #include <hnddma.h>
-#include <hndpmu.h>
 
+#include "wlc_pmu.h"
 #include "d11.h"
 #include "wlc_types.h"
 #include "wlc_cfg.h"
index 0c4780d603cfa4dab485430cc02f61f4718c6af6..b0085827153791117509ab50d85353f3b72dd7a0 100644 (file)
@@ -36,7 +36,7 @@
 #include <pcicfg.h>
 #include <sbhnddma.h>
 #include <hnddma.h>
-#include <hndpmu.h>
+#include <wlc_pmu.h>
 
 #include "wlc_types.h"
 #include "wl_dbg.h"
similarity index 99%
rename from drivers/staging/brcm80211/util/hndpmu.c
rename to drivers/staging/brcm80211/brcmsmac/wlc_pmu.c
index 566e0304cb8414ec8e36f100d54974f73dc4382f..98ba8746b3a82e49aae93c467e9f43f8204b4c73 100644 (file)
@@ -24,7 +24,7 @@
 #include <bcmdevs.h>
 #include <hndsoc.h>
 #include <sbchipc.h>
-#include <hndpmu.h>
+#include <wlc_pmu.h>
 #include "siutils_priv.h"
 
 #define        PMU_ERROR(args)
index 202a8cff2c4894f99c490e8f179ab52362ec10e4..2097482785d16a2744b2afb722735e4fc5e702d3 100644 (file)
@@ -40,7 +40,7 @@
 #include <sbsdpcmdev.h>
 #include <bcmsdpcm.h>
 #endif                         /* BCMSDIO */
-#include <hndpmu.h>
+#include <wlc_pmu.h>
 
 /* this file now contains only definitions for sb functions, only necessary
 *for devices using Sonics backplanes (bcm4329)