This patch remove typedef from the enum tenuWIDtype
and rename it to WID_TYPE.
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>
struct wid {
u16 u16WIDid;
- tenuWIDtype enuWIDtype;
+ enum WID_TYPE enuWIDtype;
s32 s32ValueSize;
s8 *ps8WidVal;
};
typedef struct {
u16 cfg_wid;
- WID_TYPE_T cfg_type;
+ enum WID_TYPE cfg_type;
s8 *pu8Para;
} cfg_param_t;
SW_TRIGGER_ABORT,
} TX_ABORT_OPTION_T;
-typedef enum {
+enum WID_TYPE {
WID_CHAR = 0,
WID_SHORT = 1,
WID_INT = 2,
WID_ADR = 7,
WID_UNDEF = 8,
WID_TYPE_FORCE_32BIT = 0xFFFFFFFF
-
-} WID_TYPE_T, tenuWIDtype;
+};
typedef enum {
WID_NIL = 0xffff,