staging: wilc1000: remove typedef from the tstrInterfaceInfo
authorTony Cho <tony.cho@atmel.com>
Wed, 14 Oct 2015 11:46:32 +0000 (20:46 +0900)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 17 Oct 2015 04:34:12 +0000 (21:34 -0700)
This patch removes typedef from the tstrInterfaceInfo and renames it to
the wilc_vif.

Signed-off-by: Tony Cho <tony.cho@atmel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/wilc1000/wilc_wfi_netdevice.h

index 373959b0e9762104611045aebbb510335ac05fd6..c5061fd07312d674ec0bd571ba3f5cb5f857c5e1 100644 (file)
@@ -148,12 +148,12 @@ typedef struct {
 
 } struct_frame_reg;
 
-typedef struct {
+struct wilc_vif {
        u8 aSrcAddress[ETH_ALEN];
        u8 aBSSID[ETH_ALEN];
        struct host_if_drv *drvHandler;
        struct net_device *wilc_netdev;
-} tstrInterfaceInfo;
+};
 
 struct wilc {
        int mac_status;
@@ -163,7 +163,7 @@ struct wilc {
        #endif
        int close;
        u8 u8NoIfcs;
-       tstrInterfaceInfo strInterfaceInfo[NUM_CONCURRENT_IFC];
+       struct wilc_vif strInterfaceInfo[NUM_CONCURRENT_IFC];
        u8 open_ifcs;
 
        struct semaphore txq_add_to_head_cs;