[PATCH 053/166] staging: rtl8192e: Convert typedef tx_ring to struct tx_ring
Larry Finger
Larry.Finger at lwfinger.net
Thu Aug 25 04:48:00 UTC 2011
Remove typedef from struct.
Rename struct.
Rename uses.
Signed-off-by: Larry Finger <Larry.Finger at lwfinger.net>
---
drivers/staging/rtl8192e/rtl_core.h | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
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;
--
1.7.3.4
More information about the devel
mailing list