Skip to content

Commit

Permalink
staging: brcm80211: rename EPI_VERSION_STR macro
Browse files Browse the repository at this point in the history
The fullmac version macro has been renamed and moved to dhd.h to
get rid of having it defined in two separate c source files.

Signed-off-by: Arend van Spriel <arend@broadcom.com>
Reviewed-by: Roland Vossen <rvossen@broadcom.com>
Reviewed-by: Franky Lin <frankyl@broadcom.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
  • Loading branch information
Arend van Spriel authored and Greg Kroah-Hartman committed Jul 5, 2011
1 parent 67a646f commit c8796cb
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
2 changes: 2 additions & 0 deletions drivers/staging/brcm80211/brcmfmac/dhd.h
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,8 @@
#ifndef _dhd_h_
#define _dhd_h_

#define BRCMF_VERSION_STR "4.218.248.5"

#define BRCMF_C_IOCTL_SMLEN 256 /* "small" ioctl buffer required */
#define BRCMF_C_IOCTL_MEDLEN 1536 /* "med" ioctl buffer required */
#define BRCMF_C_IOCTL_MAXLEN 8192
Expand Down
5 changes: 2 additions & 3 deletions drivers/staging/brcm80211/brcmfmac/dhd_common.c
Original file line number Diff line number Diff line change
Expand Up @@ -36,15 +36,14 @@ int brcmf_msg_level;
char brcmf_fw_path[MOD_PARAM_PATHLEN];
char brcmf_nv_path[MOD_PARAM_PATHLEN];

#define EPI_VERSION_STR "4.218.248.5"
#define MSGTRACE_VERSION 1

#ifdef BCMDBG
const char brcmf_version[] =
"Dongle Host Driver, version " EPI_VERSION_STR "\nCompiled on " __DATE__
"Dongle Host Driver, version " BRCMF_VERSION_STR "\nCompiled on " __DATE__
" at " __TIME__;
#else
const char brcmf_version[] = "Dongle Host Driver, version " EPI_VERSION_STR;
const char brcmf_version[] = "Dongle Host Driver, version " BRCMF_VERSION_STR;
#endif

/* IOVar table */
Expand Down
3 changes: 1 addition & 2 deletions drivers/staging/brcm80211/brcmfmac/dhd_linux.c
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,6 @@
#include "dhd_dbg.h"
#include "wl_cfg80211.h"

#define EPI_VERSION_STR "4.218.248.5"
#define ETH_P_BRCM 0x886c

/* Global ASSERT type flag */
Expand Down Expand Up @@ -1278,7 +1277,7 @@ static int brcmf_ethtool(dhd_info_t *dhd, void *uaddr)
/* if dhd requested, identify ourselves */
if (strcmp(drvname, "?dhd") == 0) {
sprintf(info.driver, "dhd");
strcpy(info.version, EPI_VERSION_STR);
strcpy(info.version, BRCMF_VERSION_STR);
}

/* otherwise, require dongle to be up */
Expand Down

0 comments on commit c8796cb

Please sign in to comment.