From: Larry Finger Date: Tue, 19 Jul 2011 04:29:22 +0000 (-0500) Subject: staging: rtl8192e: Convert typedef tx_ring to struct tx_ring X-Git-Tag: MMI-PSA29.97-13-9~18234^2^2~864^2~14^2~138 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=b7a14040dad80adbaf3a8b479952cac8334b9d9d;p=GitHub%2FMotorolaMobilityLLC%2Fkernel-slsi.git staging: rtl8192e: Convert typedef tx_ring to struct tx_ring 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 394f3a753cc4..d2056ed068e3 100644 --- a/drivers/staging/rtl8192e/rtl_core.h +++ b/drivers/staging/rtl8192e/rtl_core.h @@ -511,11 +511,11 @@ typedef struct _init_gain } init_gain, *pinit_gain; -typedef struct _tx_ring{ +struct tx_ring { u32 * desc; u8 nStuckCount; - struct _tx_ring * next; -}__attribute__ ((packed)) tx_ring, * ptx_ring; + struct tx_ring * next; +} __packed; struct rtl8192_tx_ring { struct tx_desc *desc;