Skip to content

Commit

Permalink
staging: brcm80211: purge epivers.h
Browse files Browse the repository at this point in the history
Purge include/epivers.h moving individual lines to where
they are needed and delete unused refs.

Signed-off-by: Brett Rudley <brudley@broadcom.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
  • Loading branch information
Brett Rudley authored and Greg Kroah-Hartman committed Nov 9, 2010
1 parent eb81603 commit 4766ae6
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 51 deletions.
44 changes: 0 additions & 44 deletions drivers/staging/brcm80211/include/epivers.h

This file was deleted.

11 changes: 5 additions & 6 deletions drivers/staging/brcm80211/sys/wl_mac80211.c
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,6 @@

#include <wlc_cfg.h>
#include <net/mac80211.h>
#include <epivers.h>
#ifndef WLC_HIGH_ONLY
#include <phy_version.h>
#endif
Expand Down Expand Up @@ -894,8 +893,8 @@ static wl_info_t *wl_attach(u16 vendor, u16 device, unsigned long regs,
wl_release_fw(wl);
#endif
if (!wl->wlc) {
printf("%s: %s wlc_attach() failed with code %d\n",
KBUILD_MODNAME, EPI_VERSION_STR, err);
printf("%s: wlc_attach() failed with code %d\n",
KBUILD_MODNAME, err);
goto fail;
}
wl->pub = wlc_pub(wl->wlc);
Expand Down Expand Up @@ -962,10 +961,10 @@ static wl_info_t *wl_attach(u16 vendor, u16 device, unsigned long regs,
}
#ifndef WLC_HIGH_ONLY
WL_ERROR(("wl%d: Broadcom BCM43xx 802.11 MAC80211 Driver "
EPI_VERSION_STR " (" PHY_VERSION_STR ")", unit));
" (" PHY_VERSION_STR ")", unit));
#else
WL_ERROR(("wl%d: Broadcom BCM43xx 802.11 MAC80211 Driver "
EPI_VERSION_STR, unit));
WL_ERROR(("wl%d: Broadcom BCM43xx 802.11 Splitmac MAC80211 Driver "
, unit));
#endif

#ifdef BCMDBG
Expand Down
3 changes: 2 additions & 1 deletion drivers/staging/brcm80211/sys/wlc_mac80211.c
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,6 @@
#include <pcicfg.h>
#include <bcmsrom.h>
#include <wlioctl.h>
#include <epivers.h>
#include <sbhndpio.h>
#include <sbhnddma.h>
#include <hnddma.h>
Expand Down Expand Up @@ -136,6 +135,8 @@ uint wl_msg_level =

#define SCAN_IN_PROGRESS(x) 0

#define EPI_VERSION_NUM 0x054b0b00

#ifdef BCMDBG
/* pointer to most recently allocated wl/wlc */
static wlc_info_t *wlc_info_dbg = (wlc_info_t *) (NULL);
Expand Down

0 comments on commit 4766ae6

Please sign in to comment.