[PATCH 076/166] staging: rtl8192e: Convert typedef HT_CAPABILITY to union ht_capability

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Remove typedef from union.
Rename union.
Rename uses.

Signed-off-by: Larry Finger <Larry.Finger@xxxxxxxxxxxx>
---
 drivers/staging/rtl8192e/rtl819x_HT.h |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/drivers/staging/rtl8192e/rtl819x_HT.h b/drivers/staging/rtl8192e/rtl819x_HT.h
index f85415f..113ee98 100644
--- a/drivers/staging/rtl8192e/rtl819x_HT.h
+++ b/drivers/staging/rtl8192e/rtl819x_HT.h
@@ -81,7 +81,7 @@ typedef enum _CHNLOP{
 		((_pHTInfo)->ChnlOp > CHNLOP_NONE) ? true : false
 
 /*
-typedef	union _HT_CAPABILITY{
+union ht_capability {
 	u16	ShortData;
 	u8	CharData[2];
 	struct
@@ -100,7 +100,7 @@ typedef	union _HT_CAPABILITY{
 		u16	PSMP:1;
 		u16	Rsvd:3;
 	}Field;
-}HT_CAPABILITY, *PHT_CAPABILITY;
+};
 
 typedef	union _HT_CAPABILITY_MACPARA{
 	u8	ShortData;
-- 
1.7.3.4

_______________________________________________
devel mailing list
devel@xxxxxxxxxxxxxxxxxxxxxx
http://driverdev.linuxdriverproject.org/mailman/listinfo/devel


[Index of Archives]     [Linux Driver Backports]     [DMA Engine]     [Linux GPIO]     [Linux SPI]     [Video for Linux]     [Linux USB Devel]     [Linux Coverity]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Yosemite Backpacking]
  Powered by Linux