staging: wilc1000: remove typedef from tenuHostIFstate
authorLeo Kim <leo.kim@atmel.com>
Mon, 12 Oct 2015 07:55:53 +0000 (16:55 +0900)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 13 Oct 2015 03:58:01 +0000 (20:58 -0700)
This patch removes typedef from the enum tenuHostIFstate and
rename it to host_if_state.

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

index 9cf1e992e0c4d7ece747a8fcd597fd09dbe04a8b..0460af24a6943d17ec154b22064f4ffaad15531a 100644 (file)
@@ -72,8 +72,7 @@ typedef struct _tstrStatistics {
 
 } tstrStatistics;
 
-
-typedef enum {
+enum host_if_state {
        HOST_IF_IDLE                    = 0,
        HOST_IF_SCANNING                = 1,
        HOST_IF_CONNECTING              = 2,
@@ -81,7 +80,7 @@ typedef enum {
        HOST_IF_CONNECTED               = 4,
        HOST_IF_P2P_LISTEN              = 5,
        HOST_IF_FORCE_32BIT             = 0xFFFFFFFF
-} tenuHostIFstate;
+};
 
 struct host_if_pmkid {
        u8 bssid[ETH_ALEN];
@@ -313,7 +312,7 @@ struct host_if_drv {
        u64 u64P2p_MgmtTimeout;
        u8 u8P2PConnect;
 
-       tenuHostIFstate enuHostIFstate;
+       enum host_if_state enuHostIFstate;
 
        u8 au8AssociatedBSSID[ETH_ALEN];
        struct cfg_param_val strCfgValues;