Skip to content

Commit db9f1b1

Browse files
Leo-Kimgregkh
authored andcommitted
staging: wilc1000: remove typedef from tenuHostIFstate
This patch removes typedef from the enum tenuHostIFstate and rename it to host_if_state. Signed-off-by: Leo Kim <[email protected]> Signed-off-by: Tony Cho <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
1 parent c944a4e commit db9f1b1

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

drivers/staging/wilc1000/host_interface.h

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -72,16 +72,15 @@ typedef struct _tstrStatistics {
7272

7373
} tstrStatistics;
7474

75-
76-
typedef enum {
75+
enum host_if_state {
7776
HOST_IF_IDLE = 0,
7877
HOST_IF_SCANNING = 1,
7978
HOST_IF_CONNECTING = 2,
8079
HOST_IF_WAITING_CONN_RESP = 3,
8180
HOST_IF_CONNECTED = 4,
8281
HOST_IF_P2P_LISTEN = 5,
8382
HOST_IF_FORCE_32BIT = 0xFFFFFFFF
84-
} tenuHostIFstate;
83+
};
8584

8685
struct host_if_pmkid {
8786
u8 bssid[ETH_ALEN];
@@ -313,7 +312,7 @@ struct host_if_drv {
313312
u64 u64P2p_MgmtTimeout;
314313
u8 u8P2PConnect;
315314

316-
tenuHostIFstate enuHostIFstate;
315+
enum host_if_state enuHostIFstate;
317316

318317
u8 au8AssociatedBSSID[ETH_ALEN];
319318
struct cfg_param_val strCfgValues;

0 commit comments

Comments
 (0)