From: Larry Finger Date: Tue, 19 Jul 2011 05:04:08 +0000 (-0500) Subject: staging: rtl8192e: Convert typedef bandwidth_autoswitch to struct bandwidth_autoswitch X-Git-Tag: next-20110826~5^2~92^2~103 X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=dca0eb1e15fa7cf1f4e5fae3d2c32512e24f1742;p=karo-tx-linux.git staging: rtl8192e: Convert typedef bandwidth_autoswitch to struct bandwidth_autoswitch Remove typedef from struct. Rename struct. Rename uses. Signed-off-by: Larry Finger --- diff --git a/drivers/staging/rtl8192e/rtllib.h b/drivers/staging/rtl8192e/rtllib.h index 4b1a6d8dcc2b..c06185c0d967 100644 --- a/drivers/staging/rtl8192e/rtllib.h +++ b/drivers/staging/rtl8192e/rtllib.h @@ -1779,13 +1779,12 @@ struct tx_pending { struct rtllib_txb *txb; };//; -typedef struct _bandwidth_autoswitch -{ +struct bandwidth_autoswitch { long threshold_20Mhzto40Mhz; long threshold_40Mhzto20Mhz; bool bforced_tx20Mhz; bool bautoswitch_enable; -}bandwidth_autoswitch,*pbandwidth_autoswitch; +};//,*pbandwidth_autoswitch; @@ -2383,7 +2382,7 @@ struct rtllib_device { u32 fsync_seconddiff_ratethreshold; Fsync_State fsync_state; bool bis_any_nonbepkts; - bandwidth_autoswitch bandwidth_auto_switch; + struct bandwidth_autoswitch bandwidth_auto_switch; bool FwRWRF; struct rt_link_detect LinkDetectInfo;