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: v3.2-rc1~169^2^2~864^2~14^2~138 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=b7a14040dad80adbaf3a8b479952cac8334b9d9d;p=profile%2Fivi%2Fkernel-x86-ivi.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 394f3a7..d2056ed 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;