From: Leo Kim Date: Mon, 12 Oct 2015 07:55:42 +0000 (+0900) Subject: staging: wilc1000: remove typedef from tenuWIDtype X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=20212c033aff93330c9f327574159bf6f3c2a49b;p=linux-beck.git staging: wilc1000: remove typedef from tenuWIDtype This patch remove typedef from the enum tenuWIDtype and rename it to WID_TYPE. Signed-off-by: Leo Kim Signed-off-by: Tony Cho Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/staging/wilc1000/coreconfigurator.h b/drivers/staging/wilc1000/coreconfigurator.h index 306efc999daf..02faf58feffb 100644 --- a/drivers/staging/wilc1000/coreconfigurator.h +++ b/drivers/staging/wilc1000/coreconfigurator.h @@ -72,7 +72,7 @@ typedef enum { struct wid { u16 u16WIDid; - tenuWIDtype enuWIDtype; + enum WID_TYPE enuWIDtype; s32 s32ValueSize; s8 *ps8WidVal; }; diff --git a/drivers/staging/wilc1000/host_interface.h b/drivers/staging/wilc1000/host_interface.h index 6f6362e8bf50..3ab92207463d 100644 --- a/drivers/staging/wilc1000/host_interface.h +++ b/drivers/staging/wilc1000/host_interface.h @@ -59,7 +59,7 @@ typedef struct { u16 cfg_wid; - WID_TYPE_T cfg_type; + enum WID_TYPE cfg_type; s8 *pu8Para; } cfg_param_t; diff --git a/drivers/staging/wilc1000/wilc_wlan_if.h b/drivers/staging/wilc1000/wilc_wlan_if.h index 8fec64d12cbd..be972afe6e62 100644 --- a/drivers/staging/wilc1000/wilc_wlan_if.h +++ b/drivers/staging/wilc1000/wilc_wlan_if.h @@ -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,