[PATCH 051/166] staging: rtl8192e: Convert typedef rtl_reg_debug to struct rtl_reg_debug

Larry Finger Larry.Finger at lwfinger.net
Thu Aug 25 04:47:58 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 |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/drivers/staging/rtl8192e/rtl_core.h b/drivers/staging/rtl8192e/rtl_core.h
index 720d1af..d6e2975 100644
--- a/drivers/staging/rtl8192e/rtl_core.h
+++ b/drivers/staging/rtl8192e/rtl_core.h
@@ -352,7 +352,7 @@ typedef struct buffer
 
 } buffer;
 
-typedef struct rtl_reg_debug{
+struct rtl_reg_debug {
         unsigned int  cmd;
         struct {
                 unsigned char type;
@@ -361,7 +361,7 @@ typedef struct rtl_reg_debug{
                 unsigned char length;
         } head;
         unsigned char buf[0xff];
-}rtl_reg_debug;
+};//;
 
 struct rt_tx_rahis {
 	u32             cck[4];
-- 
1.7.3.4




More information about the devel mailing list