Commit 20212c03 authored by Leo Kim's avatar Leo Kim Committed by Greg Kroah-Hartman

staging: wilc1000: remove typedef from tenuWIDtype

This patch remove typedef from the enum tenuWIDtype
and rename it to WID_TYPE.
Signed-off-by: default avatarLeo Kim <leo.kim@atmel.com>
Signed-off-by: default avatarTony Cho <tony.cho@atmel.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent e9e0c260
...@@ -72,7 +72,7 @@ typedef enum { ...@@ -72,7 +72,7 @@ typedef enum {
struct wid { struct wid {
u16 u16WIDid; u16 u16WIDid;
tenuWIDtype enuWIDtype; enum WID_TYPE enuWIDtype;
s32 s32ValueSize; s32 s32ValueSize;
s8 *ps8WidVal; s8 *ps8WidVal;
}; };
......
...@@ -59,7 +59,7 @@ ...@@ -59,7 +59,7 @@
typedef struct { typedef struct {
u16 cfg_wid; u16 cfg_wid;
WID_TYPE_T cfg_type; enum WID_TYPE cfg_type;
s8 *pu8Para; s8 *pu8Para;
} cfg_param_t; } cfg_param_t;
......
...@@ -315,7 +315,7 @@ typedef enum { ...@@ -315,7 +315,7 @@ typedef enum {
SW_TRIGGER_ABORT, SW_TRIGGER_ABORT,
} TX_ABORT_OPTION_T; } TX_ABORT_OPTION_T;
typedef enum { enum WID_TYPE {
WID_CHAR = 0, WID_CHAR = 0,
WID_SHORT = 1, WID_SHORT = 1,
WID_INT = 2, WID_INT = 2,
...@@ -326,8 +326,7 @@ typedef enum { ...@@ -326,8 +326,7 @@ typedef enum {
WID_ADR = 7, WID_ADR = 7,
WID_UNDEF = 8, WID_UNDEF = 8,
WID_TYPE_FORCE_32BIT = 0xFFFFFFFF WID_TYPE_FORCE_32BIT = 0xFFFFFFFF
};
} WID_TYPE_T, tenuWIDtype;
typedef enum { typedef enum {
WID_NIL = 0xffff, WID_NIL = 0xffff,
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment