summaryrefslogtreecommitdiffstats
path: root/drivers/staging/brcm80211/sys
diff options
context:
space:
mode:
authorGreg Kroah-Hartman2010-10-08 01:34:51 +0200
committerGreg Kroah-Hartman2010-10-08 01:34:51 +0200
commit1a3bf7471e8acaab0e66a6304212218025fe1ec2 (patch)
tree6cfa1848886c44bc73dc97fd6e15673419afbb57 /drivers/staging/brcm80211/sys
parentStaging: brcm80211: remove unused irq typedef (diff)
downloadkernel-qcow2-linux-1a3bf7471e8acaab0e66a6304212218025fe1ec2.tar.gz
kernel-qcow2-linux-1a3bf7471e8acaab0e66a6304212218025fe1ec2.tar.xz
kernel-qcow2-linux-1a3bf7471e8acaab0e66a6304212218025fe1ec2.zip
Staging: brcm80211: remove some more macros from linuxver.h
These aren't needed anymore, and now we are down to just one broken one, and a whole bunch of #include files here. This can be further factored by moving the proper #includes into the different .c files, and not leaving them in this one large one. Cc: Brett Rudley <brudley@broadcom.com> Cc: Henry Ptasinski <henryp@broadcom.com> Cc: Nohee Ko <noheek@broadcom.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/staging/brcm80211/sys')
-rw-r--r--drivers/staging/brcm80211/sys/wl_mac80211.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/staging/brcm80211/sys/wl_mac80211.c b/drivers/staging/brcm80211/sys/wl_mac80211.c
index 2360815a49d6..7c07808a7128 100644
--- a/drivers/staging/brcm80211/sys/wl_mac80211.c
+++ b/drivers/staging/brcm80211/sys/wl_mac80211.c
@@ -135,6 +135,7 @@ struct ieee80211_tkip_data {
};
#ifndef WLC_HIGH_ONLY
+#define WL_DEV_IF(dev) ((wl_if_t *)netdev_priv(dev))
#define WL_INFO(dev) ((wl_info_t *)(WL_DEV_IF(dev)->wl)) /* points to wl */
static int wl_request_fw(wl_info_t *wl, struct pci_dev *pdev);
static void wl_release_fw(wl_info_t *wl);