From: Leo Kim Date: Mon, 5 Oct 2015 06:25:40 +0000 (+0900) Subject: staging: wilc1000: remove typedef from tenuKeyType X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=b9d963333de75d295d344f100fa95d776018b5f0;p=GitHub%2Fmoto-9609%2Fandroid_kernel_motorola_exynos9610.git staging: wilc1000: remove typedef from tenuKeyType This patch remove typedef from the enum tenuKeyType. And rename it to KEY_TYPE. Signed-off-by: Leo Kim Signed-off-by: Tony Cho Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/staging/wilc1000/host_interface.c b/drivers/staging/wilc1000/host_interface.c index 38f1f5d0bdb8..3bfff777c00c 100644 --- a/drivers/staging/wilc1000/host_interface.c +++ b/drivers/staging/wilc1000/host_interface.c @@ -142,7 +142,7 @@ typedef union _tuniHostIFkeyAttr { * @version 1.0 */ struct key_attr { - tenuKeyType enuKeyType; + enum KEY_TYPE enuKeyType; u8 u8KeyAction; tuniHostIFkeyAttr uniHostIFkeyAttr; }; diff --git a/drivers/staging/wilc1000/host_interface.h b/drivers/staging/wilc1000/host_interface.h index 779ff99aca2b..856cab086563 100644 --- a/drivers/staging/wilc1000/host_interface.h +++ b/drivers/staging/wilc1000/host_interface.h @@ -172,12 +172,12 @@ typedef enum { CONN_DISCONN_EVENT_FORCE_32BIT = 0xFFFFFFFF } tenuConnDisconnEvent; -typedef enum { +enum KEY_TYPE { WEP, WPARxGtk, WPAPtk, PMKSA, -} tenuKeyType; +}; /*Scan callBack function definition*/