From: Tony Cho Date: Wed, 14 Oct 2015 11:46:32 +0000 (+0900) Subject: staging: wilc1000: remove typedef from the tstrInterfaceInfo X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=1a08bc43c4c89e79e7e653bb1c2cdef489843e3a;p=GitHub%2Fmoto-9609%2Fandroid_kernel_motorola_exynos9610.git staging: wilc1000: remove typedef from the tstrInterfaceInfo This patch removes typedef from the tstrInterfaceInfo and renames it to the wilc_vif. Signed-off-by: Tony Cho Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/staging/wilc1000/wilc_wfi_netdevice.h b/drivers/staging/wilc1000/wilc_wfi_netdevice.h index 373959b0e976..c5061fd07312 100644 --- a/drivers/staging/wilc1000/wilc_wfi_netdevice.h +++ b/drivers/staging/wilc1000/wilc_wfi_netdevice.h @@ -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;