From 31c9f6d970f3b7bc5d58267c6f6aba94cce23872 Mon Sep 17 00:00:00 2001 From: Roland Vossen Date: Wed, 1 Jun 2011 13:45:20 +0200 Subject: [PATCH] staging: brcm80211: moved header files to more specific directory Code cleanup. Header files only used by the softmac were moved to the brcmsmac dir, same approach for fullmac header files. Signed-off-by: Roland Vossen Reviewed-by: Arend van Spriel Signed-off-by: Greg Kroah-Hartman --- drivers/staging/brcm80211/brcmfmac/bcmsdh_linux.c | 1 - drivers/staging/brcm80211/{include => brcmfmac}/bcmsdpcm.h | 0 drivers/staging/brcm80211/{include => brcmsmac}/bcmnvram.h | 0 drivers/staging/brcm80211/{include => brcmsmac}/bcmotp.h | 0 drivers/staging/brcm80211/brcmsmac/bcmsrom.c | 3 +++ drivers/staging/brcm80211/util/bcmutils.c | 1 - 6 files changed, 3 insertions(+), 2 deletions(-) rename drivers/staging/brcm80211/{include => brcmfmac}/bcmsdpcm.h (100%) rename drivers/staging/brcm80211/{include => brcmsmac}/bcmnvram.h (100%) rename drivers/staging/brcm80211/{include => brcmsmac}/bcmotp.h (100%) diff --git a/drivers/staging/brcm80211/brcmfmac/bcmsdh_linux.c b/drivers/staging/brcm80211/brcmfmac/bcmsdh_linux.c index e57dd0039c2d..d44150067c6a 100644 --- a/drivers/staging/brcm80211/brcmfmac/bcmsdh_linux.c +++ b/drivers/staging/brcm80211/brcmfmac/bcmsdh_linux.c @@ -24,7 +24,6 @@ #include #include -#include #include #include #include diff --git a/drivers/staging/brcm80211/include/bcmsdpcm.h b/drivers/staging/brcm80211/brcmfmac/bcmsdpcm.h similarity index 100% rename from drivers/staging/brcm80211/include/bcmsdpcm.h rename to drivers/staging/brcm80211/brcmfmac/bcmsdpcm.h diff --git a/drivers/staging/brcm80211/include/bcmnvram.h b/drivers/staging/brcm80211/brcmsmac/bcmnvram.h similarity index 100% rename from drivers/staging/brcm80211/include/bcmnvram.h rename to drivers/staging/brcm80211/brcmsmac/bcmnvram.h diff --git a/drivers/staging/brcm80211/include/bcmotp.h b/drivers/staging/brcm80211/brcmsmac/bcmotp.h similarity index 100% rename from drivers/staging/brcm80211/include/bcmotp.h rename to drivers/staging/brcm80211/brcmsmac/bcmotp.h diff --git a/drivers/staging/brcm80211/brcmsmac/bcmsrom.c b/drivers/staging/brcm80211/brcmsmac/bcmsrom.c index d374673c295f..311bc0cdaa8e 100644 --- a/drivers/staging/brcm80211/brcmsmac/bcmsrom.c +++ b/drivers/staging/brcm80211/brcmsmac/bcmsrom.c @@ -362,6 +362,9 @@ #define SRFL_LEDDC 0x40 /* value is an LED duty cycle */ #define SRFL_NOVAR 0x80 /* do not generate a nvram param, entry is for mfgc */ +/* Max. nvram variable table size */ +#define MAXSZ_NVRAM_VARS 4096 + typedef struct { const char *name; u32 revmask; diff --git a/drivers/staging/brcm80211/util/bcmutils.c b/drivers/staging/brcm80211/util/bcmutils.c index b78ce5425a23..2724d7c8171b 100644 --- a/drivers/staging/brcm80211/util/bcmutils.c +++ b/drivers/staging/brcm80211/util/bcmutils.c @@ -25,7 +25,6 @@ #include #include #include -#include #include MODULE_AUTHOR("Broadcom Corporation"); -- 2.20.1