提交 6cdeaef2 编写于 作者: R Roland Vossen 提交者: Greg Kroah-Hartman

staging: brcm80211: replaced typedef wl_if_t by struct wl_if

Code cleanup.
Signed-off-by: NRoland Vossen <rvossen@broadcom.com>
Signed-off-by: NGreg Kroah-Hartman <gregkh@suse.de>
上级 d65ddb58
...@@ -98,7 +98,7 @@ struct ieee80211_tkip_data { ...@@ -98,7 +98,7 @@ struct ieee80211_tkip_data {
u8 rx_hdr[16], tx_hdr[16]; u8 rx_hdr[16], tx_hdr[16];
}; };
#define WL_DEV_IF(dev) ((wl_if_t *)netdev_priv(dev)) #define WL_DEV_IF(dev) ((struct wl_if *)netdev_priv(dev))
#define WL_INFO(dev) ((struct wl_info *)(WL_DEV_IF(dev)->wl)) #define WL_INFO(dev) ((struct wl_info *)(WL_DEV_IF(dev)->wl))
static int wl_request_fw(struct wl_info *wl, struct pci_dev *pdev); static int wl_request_fw(struct wl_info *wl, struct pci_dev *pdev);
static void wl_release_fw(struct wl_info *wl); static void wl_release_fw(struct wl_info *wl);
......
...@@ -390,7 +390,7 @@ struct wlc_if { ...@@ -390,7 +390,7 @@ struct wlc_if {
* AID2PVBMAP(scb). * AID2PVBMAP(scb).
*/ */
u8 flags; /* flags for the interface */ u8 flags; /* flags for the interface */
wl_if_t *wlif; /* pointer to wlif */ struct wl_if *wlif; /* pointer to wlif */
struct wlc_txq_info *qi; /* pointer to associated tx queue */ struct wlc_txq_info *qi; /* pointer to associated tx queue */
union { union {
struct scb *scb; /* pointer to scb if WLC_IFTYPE_WDS */ struct scb *scb; /* pointer to scb if WLC_IFTYPE_WDS */
......
...@@ -22,7 +22,7 @@ ...@@ -22,7 +22,7 @@
struct wlc_info; struct wlc_info;
struct wlc_hw_info; struct wlc_hw_info;
struct wlc_if; struct wlc_if;
typedef struct wl_if wl_if_t; struct wl_if;
struct ampdu_info; struct ampdu_info;
struct wlc_ap_info; struct wlc_ap_info;
struct antsel_info; struct antsel_info;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册