staging: wilc1000: remove typedef from tenuWIDtype
authorLeo Kim <leo.kim@atmel.com>
Mon, 12 Oct 2015 07:55:42 +0000 (16:55 +0900)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 13 Oct 2015 03:58:01 +0000 (20:58 -0700)
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>
drivers/staging/wilc1000/coreconfigurator.h
drivers/staging/wilc1000/host_interface.h
drivers/staging/wilc1000/wilc_wlan_if.h

index 306efc999daf6c9ee0a9bd5e541cfe935dda31dd..02faf58feffb3da602a8a5ff6d6295339f37d8bc 100644 (file)
@@ -72,7 +72,7 @@ typedef enum {
 
 struct wid {
        u16 u16WIDid;
-       tenuWIDtype enuWIDtype;
+       enum WID_TYPE enuWIDtype;
        s32 s32ValueSize;
        s8      *ps8WidVal;
 };
index 6f6362e8bf50f3b167e792ffdc9b5a0f35708ff0..3ab92207463dc74636967a43431ebcc195417706 100644 (file)
@@ -59,7 +59,7 @@
 
 typedef struct {
        u16 cfg_wid;
-       WID_TYPE_T cfg_type;
+       enum WID_TYPE cfg_type;
        s8     *pu8Para;
 } cfg_param_t;
 
index 8fec64d12cbd0b29b3f6f860b5520e23a26bfeb8..be972afe6e620f0f32df1c65048cc40d59c0cedc 100644 (file)
@@ -315,7 +315,7 @@ typedef enum {
        SW_TRIGGER_ABORT,
 } TX_ABORT_OPTION_T;
 
-typedef enum {
+enum WID_TYPE {
        WID_CHAR                = 0,
        WID_SHORT               = 1,
        WID_INT                 = 2,
@@ -326,8 +326,7 @@ typedef enum {
        WID_ADR                 = 7,
        WID_UNDEF               = 8,
        WID_TYPE_FORCE_32BIT    = 0xFFFFFFFF
-
-} WID_TYPE_T, tenuWIDtype;
+};
 
 typedef enum {
        WID_NIL                         = 0xffff,