From: Leo Kim Date: Mon, 12 Oct 2015 07:55:54 +0000 (+0900) Subject: staging: wilc1000: remove typedef from tstrFoundNetworkInfo X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=73735e49383675ee1caf7a93dfd61976c2244fc8;p=GitHub%2Fmoto-9609%2Fandroid_kernel_motorola_exynos9610.git staging: wilc1000: remove typedef from tstrFoundNetworkInfo This patch removes typedef from the struct tstrFoundNetworkInfo and rename it to found_net_info. Signed-off-by: Leo Kim Signed-off-by: Tony Cho Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/staging/wilc1000/host_interface.h b/drivers/staging/wilc1000/host_interface.h index 0460af24a694..0f5fcca636dd 100644 --- a/drivers/staging/wilc1000/host_interface.h +++ b/drivers/staging/wilc1000/host_interface.h @@ -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 {