From 1a3bf7471e8acaab0e66a6304212218025fe1ec2 Mon Sep 17 00:00:00 2001 From: Greg Kroah-Hartman Date: Thu, 7 Oct 2010 16:34:51 -0700 Subject: 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 Cc: Henry Ptasinski Cc: Nohee Ko Signed-off-by: Greg Kroah-Hartman --- drivers/staging/brcm80211/sys/wl_mac80211.c | 1 + 1 file changed, 1 insertion(+) (limited to 'drivers/staging/brcm80211/sys') 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); -- cgit v1.2.3-55-g7522