From: Tony Cho Date: Wed, 14 Oct 2015 11:46:32 +0000 (+0900) Subject: staging: wilc1000: remove typedef from the tstrInterfaceInfo X-Git-Tag: v4.4-rc1~125^2~669 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=1a08bc43c4c89e79e7e653bb1c2cdef489843e3a;p=platform%2Fkernel%2Flinux-exynos.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 373959b..c5061fd 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;