From 1a08bc43c4c89e79e7e653bb1c2cdef489843e3a Mon Sep 17 00:00:00 2001 From: Tony Cho Date: Wed, 14 Oct 2015 20:46:32 +0900 Subject: [PATCH] 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 --- drivers/staging/wilc1000/wilc_wfi_netdevice.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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; -- 2.34.1