]> git.karo-electronics.de Git - linux-beck.git/commitdiff
brcmfmac: rename sdio_chip.[ch]
authorArend van Spriel <arend@broadcom.com>
Wed, 29 Jan 2014 14:32:15 +0000 (15:32 +0100)
committerJohn W. Linville <linville@tuxdriver.com>
Wed, 12 Feb 2014 20:31:50 +0000 (15:31 -0500)
Just renaming the file. This file will contain chip related functions
that are independent of the host interface type.

Reviewed-by: Franky (Zhenhui) Lin <frankyl@broadcom.com>
Reviewed-by: Hante Meuleman <meuleman@broadcom.com>
Reviewed-by: Pieter-Paul Giesberts <pieterpg@broadcom.com>
Reviewed-by: Daniel (Deognyoun) Kim <dekim@broadcom.com>
Signed-off-by: Arend van Spriel <arend@broadcom.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/brcm80211/brcmfmac/Makefile
drivers/net/wireless/brcm80211/brcmfmac/bcmsdh.c
drivers/net/wireless/brcm80211/brcmfmac/chip.c [moved from drivers/net/wireless/brcm80211/brcmfmac/sdio_chip.c with 99% similarity]
drivers/net/wireless/brcm80211/brcmfmac/chip.h [moved from drivers/net/wireless/brcm80211/brcmfmac/sdio_chip.h with 100% similarity]
drivers/net/wireless/brcm80211/brcmfmac/dhd_sdio.c

index 57cddee03252b02b2112e59d868ec9285d87b210..1d2ceac3a221bd779320daf540bc49ecc9b219c5 100644 (file)
@@ -24,6 +24,7 @@ ccflags-y += -D__CHECK_ENDIAN__
 obj-$(CONFIG_BRCMFMAC) += brcmfmac.o
 brcmfmac-objs += \
                wl_cfg80211.o \
+               chip.o \
                fwil.o \
                fweh.o \
                fwsignal.o \
@@ -36,8 +37,7 @@ brcmfmac-objs += \
                btcoex.o
 brcmfmac-$(CONFIG_BRCMFMAC_SDIO) += \
                dhd_sdio.o \
-               bcmsdh.o \
-               sdio_chip.o
+               bcmsdh.o
 brcmfmac-$(CONFIG_BRCMFMAC_USB) += \
                usb.o
 brcmfmac-$(CONFIG_BRCMDBG) += \
index 9eb6f786b3b48681c169e0c7169ad7b51342c098..5711fd6f551a85c18a31b68bb56fafdb01107d05 100644 (file)
@@ -43,7 +43,6 @@
 #include "dhd_bus.h"
 #include "dhd_dbg.h"
 #include "sdio_host.h"
-#include "sdio_chip.h"
 
 #define SDIOH_API_ACCESS_RETRY_LIMIT   2
 
similarity index 99%
rename from drivers/net/wireless/brcm80211/brcmfmac/sdio_chip.c
rename to drivers/net/wireless/brcm80211/brcmfmac/chip.c
index 1ce8cb7e25cecfb0e799699308d5fae95bdddac6..37fd44a3483a84fb0119e79bc4e64e9afca104de 100644 (file)
@@ -30,7 +30,7 @@
 #include <soc.h>
 #include "dhd_dbg.h"
 #include "sdio_host.h"
-#include "sdio_chip.h"
+#include "chip.h"
 
 /* chip core base & ramsize */
 /* bcm4329 */
@@ -127,7 +127,7 @@ brcmf_sdio_sb_iscoreup(struct brcmf_sdio_dev *sdiodev,
                                    NULL);
        regdata &= (SSB_TMSLOW_RESET | SSB_TMSLOW_REJECT |
                    SSB_IMSTATE_REJECT | SSB_TMSLOW_CLOCK);
-       return (SSB_TMSLOW_CLOCK == regdata);
+       return SSB_TMSLOW_CLOCK == regdata;
 }
 
 static bool
index 090ce1875f15cddc55ac41718b65e693deba3d85..d78fffb43964a0429b91a09ffa69d60550348a51 100644 (file)
@@ -40,7 +40,7 @@
 #include <brcm_hw_ids.h>
 #include <soc.h>
 #include "sdio_host.h"
-#include "sdio_chip.h"
+#include "chip.h"
 #include "nvram.h"
 
 #define DCMD_RESP_TIMEOUT  2000        /* In milli second */