summaryrefslogtreecommitdiffstats
path: root/drivers/staging/wilc1000
diff options
context:
space:
mode:
authorLeo Kim <leo.kim@atmel.com>2016-03-25 21:16:48 +0900
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2016-03-28 07:30:36 -0700
commitc92a869e6170c06219ca550a0e87fbefaa92a30b (patch)
tree2cf1b2752d96a5d20fe60cc6ec428c6e0f68f333 /drivers/staging/wilc1000
parent6d11c5517f544b50827e4ee720fad512ac28e14a (diff)
downloadop-kernel-dev-c92a869e6170c06219ca550a0e87fbefaa92a30b.zip
op-kernel-dev-c92a869e6170c06219ca550a0e87fbefaa92a30b.tar.gz
staging: wilc1000: removes typedef of struct struct_frame_reg
This patch removes typedef of struct struct_frame_reg. Renames the struct_frame_reg to frame_reg as well. Signed-off-by: Leo Kim <leo.kim@atmel.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/wilc1000')
-rw-r--r--drivers/staging/wilc1000/wilc_wfi_netdevice.h7
1 files changed, 3 insertions, 4 deletions
diff --git a/drivers/staging/wilc1000/wilc_wfi_netdevice.h b/drivers/staging/wilc1000/wilc_wfi_netdevice.h
index 4123cff..f394484 100644
--- a/drivers/staging/wilc1000/wilc_wfi_netdevice.h
+++ b/drivers/staging/wilc1000/wilc_wfi_netdevice.h
@@ -139,18 +139,17 @@ struct wilc_priv {
};
-typedef struct {
+struct frame_reg {
u16 frame_type;
bool reg;
-
-} struct_frame_reg;
+};
struct wilc_vif {
u8 idx;
u8 iftype;
int monitor_flag;
int mac_opened;
- struct_frame_reg g_struct_frame_reg[num_reg_frame];
+ struct frame_reg g_struct_frame_reg[num_reg_frame];
struct net_device_stats netstats;
struct wilc *wilc;
u8 src_addr[ETH_ALEN];
OpenPOWER on IntegriCloud