staging: brcm80211: replaced typedef wl_if_t by struct wl_if
authorRoland Vossen <rvossen@broadcom.com>
Tue, 7 Dec 2010 16:45:42 +0000 (17:45 +0100)
committerGreg Kroah-Hartman <gregkh@suse.de>
Wed, 8 Dec 2010 22:27:48 +0000 (14:27 -0800)
Code cleanup.

Signed-off-by: Roland Vossen <rvossen@broadcom.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/staging/brcm80211/sys/wl_mac80211.c
drivers/staging/brcm80211/sys/wlc_mac80211.h
drivers/staging/brcm80211/sys/wlc_types.h

index d41212bca63365b79218b9aac4f96a0d7dcc0475..1e7a29d006bef699cda9704a413ef081ef370eeb 100644 (file)
@@ -98,7 +98,7 @@ struct ieee80211_tkip_data {
        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))
 static int wl_request_fw(struct wl_info *wl, struct pci_dev *pdev);
 static void wl_release_fw(struct wl_info *wl);
index bfd9ad4118ad20d564d733ef44039908d69e045c..2054e346eab43e86522515206f1f04562c7a44ab 100644 (file)
@@ -390,7 +390,7 @@ struct wlc_if {
                                 * AID2PVBMAP(scb).
                                 */
        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 */
        union {
                struct scb *scb;        /* pointer to scb if WLC_IFTYPE_WDS */
index 5f63c48b00fdfa24b94a9e3034bf428518c2c0dd..7e2e198334cab24e3779733e1c2d1210e6ef510f 100644 (file)
@@ -22,7 +22,7 @@
 struct wlc_info;
 struct wlc_hw_info;
 struct wlc_if;
-typedef struct wl_if wl_if_t;
+struct wl_if;
 struct ampdu_info;
 struct wlc_ap_info;
 struct antsel_info;