diff options
author | Roland Vossen <rvossen@broadcom.com> | 2010-12-07 11:45:42 -0500 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2010-12-08 17:27:48 -0500 |
commit | 6cdeaef203155bd7f12d362e5345323cfecde58a (patch) | |
tree | 13c18f9ba4a8c81d5ba9665c9896b887e9198b21 | |
parent | d65ddb58325ba2c4fef70f6c9ff542df81e5cdb3 (diff) |
staging: brcm80211: replaced typedef wl_if_t by struct wl_if
Code cleanup.
Signed-off-by: Roland Vossen <rvossen@broadcom.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
-rw-r--r-- | drivers/staging/brcm80211/sys/wl_mac80211.c | 2 | ||||
-rw-r--r-- | drivers/staging/brcm80211/sys/wlc_mac80211.h | 2 | ||||
-rw-r--r-- | drivers/staging/brcm80211/sys/wlc_types.h | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/drivers/staging/brcm80211/sys/wl_mac80211.c b/drivers/staging/brcm80211/sys/wl_mac80211.c index d41212bca633..1e7a29d006be 100644 --- a/drivers/staging/brcm80211/sys/wl_mac80211.c +++ b/drivers/staging/brcm80211/sys/wl_mac80211.c | |||
@@ -98,7 +98,7 @@ struct ieee80211_tkip_data { | |||
98 | u8 rx_hdr[16], tx_hdr[16]; | 98 | u8 rx_hdr[16], tx_hdr[16]; |
99 | }; | 99 | }; |
100 | 100 | ||
101 | #define WL_DEV_IF(dev) ((wl_if_t *)netdev_priv(dev)) | 101 | #define WL_DEV_IF(dev) ((struct wl_if *)netdev_priv(dev)) |
102 | #define WL_INFO(dev) ((struct wl_info *)(WL_DEV_IF(dev)->wl)) | 102 | #define WL_INFO(dev) ((struct wl_info *)(WL_DEV_IF(dev)->wl)) |
103 | static int wl_request_fw(struct wl_info *wl, struct pci_dev *pdev); | 103 | static int wl_request_fw(struct wl_info *wl, struct pci_dev *pdev); |
104 | static void wl_release_fw(struct wl_info *wl); | 104 | static void wl_release_fw(struct wl_info *wl); |
diff --git a/drivers/staging/brcm80211/sys/wlc_mac80211.h b/drivers/staging/brcm80211/sys/wlc_mac80211.h index bfd9ad4118ad..2054e346eab4 100644 --- a/drivers/staging/brcm80211/sys/wlc_mac80211.h +++ b/drivers/staging/brcm80211/sys/wlc_mac80211.h | |||
@@ -390,7 +390,7 @@ struct wlc_if { | |||
390 | * AID2PVBMAP(scb). | 390 | * AID2PVBMAP(scb). |
391 | */ | 391 | */ |
392 | u8 flags; /* flags for the interface */ | 392 | u8 flags; /* flags for the interface */ |
393 | wl_if_t *wlif; /* pointer to wlif */ | 393 | struct wl_if *wlif; /* pointer to wlif */ |
394 | struct wlc_txq_info *qi; /* pointer to associated tx queue */ | 394 | struct wlc_txq_info *qi; /* pointer to associated tx queue */ |
395 | union { | 395 | union { |
396 | struct scb *scb; /* pointer to scb if WLC_IFTYPE_WDS */ | 396 | struct scb *scb; /* pointer to scb if WLC_IFTYPE_WDS */ |
diff --git a/drivers/staging/brcm80211/sys/wlc_types.h b/drivers/staging/brcm80211/sys/wlc_types.h index 5f63c48b00fd..7e2e198334ca 100644 --- a/drivers/staging/brcm80211/sys/wlc_types.h +++ b/drivers/staging/brcm80211/sys/wlc_types.h | |||
@@ -22,7 +22,7 @@ | |||
22 | struct wlc_info; | 22 | struct wlc_info; |
23 | struct wlc_hw_info; | 23 | struct wlc_hw_info; |
24 | struct wlc_if; | 24 | struct wlc_if; |
25 | typedef struct wl_if wl_if_t; | 25 | struct wl_if; |
26 | struct ampdu_info; | 26 | struct ampdu_info; |
27 | struct wlc_ap_info; | 27 | struct wlc_ap_info; |
28 | struct antsel_info; | 28 | struct antsel_info; |