aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/staging/brcm80211/include
diff options
context:
space:
mode:
authorRoland Vossen <rvossen@broadcom.com>2011-07-05 18:02:30 -0400
committerGreg Kroah-Hartman <gregkh@suse.de>2011-07-05 22:47:46 -0400
commitc4eae44c541cd5c9fe8751da8a3b6d6b036c9ea2 (patch)
treebccc6c1c5537c4dea836b6e4488e3bde4c6d9386 /drivers/staging/brcm80211/include
parent1f660b9ca9e26f1fd3894b0ea8b2e55edb2b2c70 (diff)
staging: brcm80211: removed unused #ifdef sections in fullmac
CONFIG_MACH_SANDGATE2G, CONFIG_MMC_MSM7X00A, CONFIG_HAS_EARLYSUSPEND and CONFIG_WIFI_CONTROL_FUNC were never defined. Signed-off-by: Arend van Spriel <arend@broadcom.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/staging/brcm80211/include')
-rw-r--r--drivers/staging/brcm80211/include/brcmu_utils.h4
1 files changed, 0 insertions, 4 deletions
diff --git a/drivers/staging/brcm80211/include/brcmu_utils.h b/drivers/staging/brcm80211/include/brcmu_utils.h
index d0039d768b6..2d54cc5f4b1 100644
--- a/drivers/staging/brcm80211/include/brcmu_utils.h
+++ b/drivers/staging/brcm80211/include/brcmu_utils.h
@@ -205,12 +205,8 @@ extern int brcmu_iovar_lencheck(const struct brcmu_iovar *table, void *arg,
205#define ISPOWEROF2(x) ((((x)-1)&(x)) == 0) 205#define ISPOWEROF2(x) ((((x)-1)&(x)) == 0)
206 206
207/* map physical to virtual I/O */ 207/* map physical to virtual I/O */
208#if !defined(CONFIG_MMC_MSM7X00A)
209#define REG_MAP(pa, size) ioremap_nocache((unsigned long)(pa), \ 208#define REG_MAP(pa, size) ioremap_nocache((unsigned long)(pa), \
210 (unsigned long)(size)) 209 (unsigned long)(size))
211#else
212#define REG_MAP(pa, size) (void *)(0)
213#endif
214 210
215/* the largest reasonable packet buffer driver uses for ethernet MTU in bytes */ 211/* the largest reasonable packet buffer driver uses for ethernet MTU in bytes */
216#define PKTBUFSZ 2048 212#define PKTBUFSZ 2048