From: Larry Finger Date: Tue, 19 Jul 2011 04:51:09 +0000 (-0500) Subject: staging: rtl8192e: Convert typedef init_gain to struct init_gain X-Git-Tag: next-20110826~5^2~92^2~105 X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=43267fef107b44b3b3e73a02cfc6027b8e6336fb;p=karo-tx-linux.git staging: rtl8192e: Convert typedef init_gain to struct init_gain Remove typedef from struct. Rename struct. Rename uses. Signed-off-by: Larry Finger --- diff --git a/drivers/staging/rtl8192e/rtl_core.h b/drivers/staging/rtl8192e/rtl_core.h index c71d4d2b43f9..cb2879236432 100644 --- a/drivers/staging/rtl8192e/rtl_core.h +++ b/drivers/staging/rtl8192e/rtl_core.h @@ -500,15 +500,14 @@ struct ccktxbbgain { u8 ccktxbb_valuearray[8]; }; -typedef struct _init_gain -{ +struct init_gain { u8 xaagccore1; u8 xbagccore1; u8 xcagccore1; u8 xdagccore1; u8 cca; -} init_gain, *pinit_gain; +}; struct tx_ring { u32 * desc; @@ -949,7 +948,7 @@ typedef struct r8192_priv u8 Record_CCK_20Mindex; u8 Record_CCK_40Mindex; - init_gain initgain_backup; + struct init_gain initgain_backup; u8 DefaultInitialGain[4]; bool bis_any_nonbepkts; bool bcurrent_turbo_EDCA;