From: Larry Finger Date: Tue, 19 Jul 2011 15:19:43 +0000 (-0500) Subject: staging: rtl8192e: Convert typedef HT_CAPABILITY to union ht_capability X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=7d5693b2211b7d7639fce4d2edcb3c410e499554;p=openwrt%2Fstaging%2Fblogic.git staging: rtl8192e: Convert typedef HT_CAPABILITY to union ht_capability Remove typedef from union. Rename union. Rename uses. Signed-off-by: Larry Finger --- diff --git a/drivers/staging/rtl8192e/rtl819x_HT.h b/drivers/staging/rtl8192e/rtl819x_HT.h index f85415ff3f15..113ee98540a4 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;