staging: wilc1000: remove typedef from tenuKeyType
authorLeo Kim <leo.kim@atmel.com>
Mon, 5 Oct 2015 06:25:40 +0000 (15:25 +0900)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 8 Oct 2015 09:56:03 +0000 (10:56 +0100)
This patch remove typedef from the enum tenuKeyType.
And rename it to KEY_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/host_interface.c
drivers/staging/wilc1000/host_interface.h

index 38f1f5d0bdb8a113868a369ebc83bf4170a028ca..3bfff777c00c119f0c0daacd554d4a207e745f97 100644 (file)
@@ -142,7 +142,7 @@ typedef union _tuniHostIFkeyAttr {
  *  @version           1.0
  */
 struct key_attr {
-       tenuKeyType enuKeyType;
+       enum KEY_TYPE enuKeyType;
        u8 u8KeyAction;
        tuniHostIFkeyAttr uniHostIFkeyAttr;
 };
index 779ff99aca2bc924a5eb03ffc6ed155ca742b1f2..856cab0865636608a349b64cba31494904b67eae 100644 (file)
@@ -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*/