summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLeo Kim <leo.kim@atmel.com>2015-10-05 15:25:41 +0900
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2015-10-08 10:56:03 +0100
commit40cc2c90adfcf1519aa457fc9fedec2ee0856fd5 (patch)
tree4f5bee51d2a7847e5b5fbe6177ac6e8eda6c688d
parentb9d963333de75d295d344f100fa95d776018b5f0 (diff)
staging: wilc1000: remove typedef from tuniHostIFkeyAttr
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>
-rw-r--r--drivers/staging/wilc1000/host_interface.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/drivers/staging/wilc1000/host_interface.c b/drivers/staging/wilc1000/host_interface.c
index 3bfff777c00c..5c85bf9ddcc8 100644
--- a/drivers/staging/wilc1000/host_interface.c
+++ b/drivers/staging/wilc1000/host_interface.c
@@ -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;
};