diff options
author | Arend van Spriel <arend@broadcom.com> | 2015-01-25 20:31:38 +0100 |
---|---|---|
committer | Kalle Valo <kvalo@codeaurora.org> | 2015-01-29 09:59:09 +0200 |
commit | 31fc436f184dc4219d837d4ffc97ad7c2ca0954d (patch) | |
tree | 4e4660c79d2a1765e6c1077f912cc7a01823c171 /drivers/net/wireless/brcm80211/include | |
parent | 86fec35e17c15f466ebf3f942b60d35d47929444 (diff) | |
download | talos-op-linux-31fc436f184dc4219d837d4ffc97ad7c2ca0954d.tar.gz talos-op-linux-31fc436f184dc4219d837d4ffc97ad7c2ca0954d.zip |
brcmutil: use define for boardrev string function
Introducing a define that the caller of brcmu_boardrev_str() can
use to allocate enough room for buffer passed to the function.
Reviewed-by: Hante Meuleman <meuleman@broadcom.com>
Reviewed-by: Pieter-Paul Giesberts <pieterpg@broadcom.com>
Signed-off-by: Arend van Spriel <arend@broadcom.com>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
Diffstat (limited to 'drivers/net/wireless/brcm80211/include')
-rw-r--r-- | drivers/net/wireless/brcm80211/include/brcmu_utils.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/net/wireless/brcm80211/include/brcmu_utils.h b/drivers/net/wireless/brcm80211/include/brcmu_utils.h index a043e29f07e2..197317b3fa70 100644 --- a/drivers/net/wireless/brcm80211/include/brcmu_utils.h +++ b/drivers/net/wireless/brcm80211/include/brcmu_utils.h @@ -218,6 +218,8 @@ void brcmu_dbg_hex_dump(const void *data, size_t size, const char *fmt, ...) } #endif +#define BRCMU_BOARDREV_LEN 8 + char *brcmu_boardrev_str(u32 brev, char *buf); #endif /* _BRCMU_UTILS_H_ */ |