From: Leo Kim <leo.kim@xxxxxxxxx> This patch removes typedef from the enum tenuHostIFstate and rename it to host_if_state. Signed-off-by: Leo Kim <leo.kim@xxxxxxxxx> Signed-off-by: Tony Cho <tony.cho@xxxxxxxxx> --- drivers/staging/wilc1000/host_interface.h | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/drivers/staging/wilc1000/host_interface.h b/drivers/staging/wilc1000/host_interface.h index 9cf1e99..0460af2 100644 --- a/drivers/staging/wilc1000/host_interface.h +++ b/drivers/staging/wilc1000/host_interface.h @@ -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; -- 1.9.1 _______________________________________________ devel mailing list devel@xxxxxxxxxxxxxxxxxxxxxx http://driverdev.linuxdriverproject.org/mailman/listinfo/driverdev-devel