summaryrefslogtreecommitdiffstats
path: root/drivers/staging/brcm80211/brcmsmac/wl_mac80211.c
diff options
context:
space:
mode:
authorArend van Spriel <arend@broadcom.com>2011-03-02 21:18:49 +0100
committerGreg Kroah-Hartman <gregkh@suse.de>2011-03-02 19:48:07 -0500
commit9cceab99d7038b69093fd0142f644224c040a6bb (patch)
tree79c9c32470eeed8f6e3fc0465bdc17c9ae36d979 /drivers/staging/brcm80211/brcmsmac/wl_mac80211.c
parent3c9d4c3749a712fa370289b54f40b157c336c8f3 (diff)
downloadlinux-stable-9cceab99d7038b69093fd0142f644224c040a6bb.tar.gz
linux-stable-9cceab99d7038b69093fd0142f644224c040a6bb.tar.bz2
linux-stable-9cceab99d7038b69093fd0142f644224c040a6bb.zip
staging: brcm80211: remove osl source files from driver
The whole need for the OSL concept has been removed from the driver. This is the final commit removing the source file and include file from the driver repository. All include statements of osl.h have been removed from the other source files. Reviewed-by: Brett Rudley <brudley@broadcom.com> Reviewed-by: Henry Ptasinski <henryp@broadcom.com> Reviewed-by: Roland Vossen <rvossen@broadcom.com> Signed-off-by: Arend van Spriel <arend@broadcom.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/staging/brcm80211/brcmsmac/wl_mac80211.c')
-rw-r--r--drivers/staging/brcm80211/brcmsmac/wl_mac80211.c9
1 files changed, 0 insertions, 9 deletions
diff --git a/drivers/staging/brcm80211/brcmsmac/wl_mac80211.c b/drivers/staging/brcm80211/brcmsmac/wl_mac80211.c
index 9fdd7755b590..d70ed3d990d6 100644
--- a/drivers/staging/brcm80211/brcmsmac/wl_mac80211.c
+++ b/drivers/staging/brcm80211/brcmsmac/wl_mac80211.c
@@ -27,7 +27,6 @@
#include <net/mac80211.h>
#include <proto/802.11.h>
-#include <osl.h>
#include <bcmdefs.h>
#include <bcmwifi.h>
#include <bcmutils.h>
@@ -729,7 +728,6 @@ static struct wl_info *wl_attach(u16 vendor, u16 device, unsigned long regs,
uint bustype, void *btparam, uint irq)
{
struct wl_info *wl;
- struct osl_info *osh;
int unit, err;
unsigned long base_addr;
@@ -744,15 +742,11 @@ static struct wl_info *wl_attach(u16 vendor, u16 device, unsigned long regs,
return NULL;
}
- osh = osl_attach(btparam, bustype);
- ASSERT(osh);
-
/* allocate private info */
hw = pci_get_drvdata(btparam); /* btparam == pdev */
wl = hw->priv;
ASSERT(wl);
- wl->osh = osh;
atomic_set(&wl->callbacks, 0);
/* setup the bottom half handler */
@@ -1397,9 +1391,6 @@ static void wl_free(struct wl_info *wl)
iounmap((void *)wl->regsva);
}
wl->regsva = NULL;
-
-
- osl_detach(wl->osh);
}
/*