staging: wilc1000: remove typedef from tuniHostIFkeyAttr
authorLeo Kim <leo.kim@atmel.com>
Mon, 5 Oct 2015 06:25:41 +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 union tuniHostIFkeyAttr.
And rename it to host_if_key_attr.

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

index 3bfff777c00c119f0c0daacd554d4a207e745f97..5c85bf9ddcc8ee4b300bee605429822fea1e7870 100644 (file)
@@ -116,7 +116,7 @@ typedef struct _tstrHostIFwepAttr {
 } tstrHostIFwepAttr;
 
 /*!
- *  @struct             tuniHostIFkeyAttr
+ *  @struct             host_if_key_attr
  *  @brief             Structure to hold Host IF Scan Attributes
  *  @details
  *  @todo
@@ -125,11 +125,11 @@ typedef struct _tstrHostIFwepAttr {
  *  @date              25 March 2012
  *  @version           1.0
  */
-typedef union _tuniHostIFkeyAttr {
+union host_if_key_attr {
        tstrHostIFwepAttr strHostIFwepAttr;
        tstrHostIFwpaAttr strHostIFwpaAttr;
        tstrHostIFpmkidAttr strHostIFpmkidAttr;
-} tuniHostIFkeyAttr;
+};
 
 /*!
  *  @struct             key_attr
@@ -144,7 +144,7 @@ typedef union _tuniHostIFkeyAttr {
 struct key_attr {
        enum KEY_TYPE enuKeyType;
        u8 u8KeyAction;
-       tuniHostIFkeyAttr uniHostIFkeyAttr;
+       union host_if_key_attr uniHostIFkeyAttr;
 };
 
 
This page took 0.027982 seconds and 5 git commands to generate.