aboutsummaryrefslogtreecommitdiff
path: root/drivers/staging/brcm80211/brcmfmac
diff options
context:
space:
mode:
authorRoland Vossen <rvossen@broadcom.com>2010-12-01 21:37:34 +0100
committerGreg Kroah-Hartman <gregkh@suse.de>2010-12-01 14:58:20 -0800
commit2cb22a7a5624603b9db3571fc65489f5389b512c (patch)
tree4eda8af70e36711acd5112ca25a23795efa48cc5 /drivers/staging/brcm80211/brcmfmac
parent01d11441fd7ede922e10008986ecdb0a84256bc5 (diff)
staging: brcm80211: replaced typedef struct wl_info_t by struct wl_info.
Part of the code cleanup effort. CodingStyle doc advises to restrict the usage of typedefs. Also moved several function declarations from .c to .h file because this typedef replace operation induced checkpatch.pl warnings. Signed-off-by: Roland Vossen <rvossen@broadcom.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/staging/brcm80211/brcmfmac')
-rw-r--r--drivers/staging/brcm80211/brcmfmac/wl_iw.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/staging/brcm80211/brcmfmac/wl_iw.c b/drivers/staging/brcm80211/brcmfmac/wl_iw.c
index e524cd102c4..d8600bfc304 100644
--- a/drivers/staging/brcm80211/brcmfmac/wl_iw.c
+++ b/drivers/staging/brcm80211/brcmfmac/wl_iw.c
@@ -32,14 +32,13 @@
#include <dhd.h>
#include <dhdioctl.h>
-typedef void wlc_info_t;
-typedef void wl_info_t;
typedef const struct si_pub si_t;
#include <wlioctl.h>
#include <proto/ethernet.h>
#include <dngl_stats.h>
#include <dhd.h>
+
#define WL_ERROR(x) printf x
#define WL_TRACE(x)
#define WL_ASSOC(x)