staging: brcm80211: move qmath sources to phy directory
authorArend van Spriel <arend@broadcom.com>
Tue, 3 May 2011 09:35:56 +0000 (11:35 +0200)
committerGreg Kroah-Hartman <gregkh@suse.de>
Tue, 3 May 2011 19:42:46 +0000 (12:42 -0700)
The functions provided by qmath sources are only used by the
phy source code so qmath sources have been moved there.

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_qmath.c [moved from drivers/staging/brcm80211/util/qmath.c with 99% similarity]
drivers/staging/brcm80211/brcmsmac/phy/wlc_phy_qmath.h [moved from drivers/staging/brcm80211/include/qmath.h with 100% similarity]

index 8dc234d..2179774 100644 (file)
@@ -47,13 +47,13 @@ BRCMSMAC_OFILES := \
        phy/wlc_phy_n.o \
        phy/wlc_phytbl_lcn.o \
        phy/wlc_phytbl_n.o \
+       phy/wlc_phy_qmath.o \
        ../util/bcmutils.o \
        ../util/bcmwifi.o \
        ../util/bcmotp.o \
        ../util/bcmsrom.o \
        ../util/hnddma.o \
        ../util/nicpci.o \
-       ../util/qmath.o \
        ../util/nvram/nvram_ro.o
 
 MODULEPFX := brcmsmac
index 0722097..8fc1bef 100644 (file)
@@ -19,7 +19,6 @@
 #include <linux/bitops.h>
 #include <linux/delay.h>
 #include <wlc_cfg.h>
-#include <qmath.h>
 #include <linux/pci.h>
 #include <aiutils.h>
 #include <wlc_pmu.h>
 #include <bcmdevs.h>
 #include <sbhnddma.h>
 
-#include <wlc_phy_radio.h>
-#include <wlc_phy_int.h>
-#include <wlc_phy_lcn.h>
-#include <wlc_phytbl_lcn.h>
+#include "wlc_phy_radio.h"
+#include "wlc_phy_int.h"
+#include "wlc_phy_qmath.h"
+#include "wlc_phy_lcn.h"
+#include "wlc_phytbl_lcn.h"
 
 #define PLL_2064_NDIV          90
 #define PLL_2064_LOW_END_VCO   3000
@@ -15,7 +15,8 @@
  */
 
 #include <linux/types.h>
-#include "qmath.h"
+
+#include "wlc_phy_qmath.h"
 
 /*
 Description: This function saturate input 32 bit number into a 16 bit number.