Remove typedef from struct. Rename struct. Rename uses. Signed-off-by: Larry Finger <Larry.Finger@xxxxxxxxxxxx> --- drivers/staging/rtl8192e/rtl_wx.c | 5 ++--- 1 files changed, 2 insertions(+), 3 deletions(-) diff --git a/drivers/staging/rtl8192e/rtl_wx.c b/drivers/staging/rtl8192e/rtl_wx.c index 31a4926..1eb2559 100644 --- a/drivers/staging/rtl8192e/rtl_wx.c +++ b/drivers/staging/rtl8192e/rtl_wx.c @@ -191,11 +191,10 @@ struct adhoc_peer_entry { unsigned char WirelessMode; unsigned char bCurTxBW40MHz; }; -typedef struct -{ +struct adhoc_peers_info { struct adhoc_peer_entry Entry[MAX_ADHOC_PEER_NUM]; unsigned char num; -} adhoc_peers_info_t, *p_adhoc_peers_info_t; +}; int r8192_wx_get_adhoc_peers(struct net_device *dev, struct iw_request_info *info, -- 1.7.3.4 _______________________________________________ devel mailing list devel@xxxxxxxxxxxxxxxxxxxxxx http://driverdev.linuxdriverproject.org/mailman/listinfo/devel