Commit f428450a authored by Kevin McKinney's avatar Kevin McKinney Committed by Greg Kroah-Hartman

Staging: bcm: Remove typedef for _S_HDR_SUPRESSION_CONTEXTINFO and call directly.

This patch removes typedef for
_S_HDR_SUPRESSION_CONTEXTINFO, changes the name
of the struct from _S_HDR_SUPRESSION_CONTEXTINFO
to bcm_hdr_supression_contextinfo. In addition,
any calls to the following typedefs
"S_HDR_SUPRESSION_CONTEXTINFO" are changed to call the
struct directly.
Signed-off-by: default avatarKevin McKinney <klmckinney1@gmail.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 92562aee
...@@ -100,10 +100,10 @@ typedef union _U_IP_ADDRESS { ...@@ -100,10 +100,10 @@ typedef union _U_IP_ADDRESS {
}; };
} U_IP_ADDRESS; } U_IP_ADDRESS;
typedef struct _S_HDR_SUPRESSION_CONTEXTINFO { struct bcm_hdr_supression_contextinfo {
UCHAR ucaHdrSupressionInBuf[MAX_PHS_LENGTHS]; /* Intermediate buffer to accumulate pkt Header for PHS */ UCHAR ucaHdrSupressionInBuf[MAX_PHS_LENGTHS]; /* Intermediate buffer to accumulate pkt Header for PHS */
UCHAR ucaHdrSupressionOutBuf[MAX_PHS_LENGTHS + PHSI_LEN]; /* Intermediate buffer containing pkt Header after PHS */ UCHAR ucaHdrSupressionOutBuf[MAX_PHS_LENGTHS + PHSI_LEN]; /* Intermediate buffer containing pkt Header after PHS */
} S_HDR_SUPRESSION_CONTEXTINFO; };
struct bcm_classifier_rule { struct bcm_classifier_rule {
ULONG ulSFID; ULONG ulSFID;
...@@ -380,7 +380,7 @@ struct _MINI_ADAPTER { ...@@ -380,7 +380,7 @@ struct _MINI_ADAPTER {
BOOLEAN bLinkDownRequested; BOOLEAN bLinkDownRequested;
int downloadDDR; int downloadDDR;
PHS_DEVICE_EXTENSION stBCMPhsContext; PHS_DEVICE_EXTENSION stBCMPhsContext;
S_HDR_SUPRESSION_CONTEXTINFO stPhsTxContextInfo; struct bcm_hdr_supression_contextinfo stPhsTxContextInfo;
uint8_t ucaPHSPktRestoreBuf[2048]; uint8_t ucaPHSPktRestoreBuf[2048];
uint8_t bPHSEnabled; uint8_t bPHSEnabled;
BOOLEAN AutoFirmDld; BOOLEAN AutoFirmDld;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment