staging: wilc1000: remove typedef from tstrFoundNetworkInfo
authorLeo Kim <leo.kim@atmel.com>
Mon, 12 Oct 2015 07:55:54 +0000 (16:55 +0900)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 13 Oct 2015 03:58:01 +0000 (20:58 -0700)
This patch removes typedef from the struct tstrFoundNetworkInfo and
rename it to found_net_info.

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.h

index 0460af24a6943d17ec154b22064f4ffaad15531a..0f5fcca636dd5a466e02972a28ec08247946b768 100644 (file)
@@ -155,10 +155,10 @@ typedef enum {
        HT_ENABLE               = BIT(18),
 } tenuCfgParam;
 
-typedef struct {
+struct found_net_info {
        u8 au8bssid[6];
        s8 s8rssi;
-} tstrFoundNetworkInfo;
+};
 
 typedef enum {SCAN_EVENT_NETWORK_FOUND  = 0,
              SCAN_EVENT_DONE = 1,
@@ -232,7 +232,7 @@ struct user_scan_req {
        void *u32UserScanPvoid;
 
        u32 u32RcvdChCount;
-       tstrFoundNetworkInfo astrFoundNetworkInfo[MAX_NUM_SCANNED_NETWORKS];
+       struct found_net_info astrFoundNetworkInfo[MAX_NUM_SCANNED_NETWORKS];
 };
 
 struct user_conn_req {