diff options
author | Kevin McKinney <klmckinney1@gmail.com> | 2012-05-26 12:05:04 -0400 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2012-06-05 00:08:10 -0400 |
commit | f428450a5d675682def5403e6842f6c61872c3dd (patch) | |
tree | 575c9b15c9179966549ea7582b49752318dfb7d6 | |
parent | 92562aeec46c965821c59f78e58f1cfe0a47bbaf (diff) |
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: Kevin McKinney <klmckinney1@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
-rw-r--r-- | drivers/staging/bcm/Adapter.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/staging/bcm/Adapter.h b/drivers/staging/bcm/Adapter.h index d2260fe8c2a1..9b5a0aa805af 100644 --- a/drivers/staging/bcm/Adapter.h +++ b/drivers/staging/bcm/Adapter.h | |||
@@ -100,10 +100,10 @@ typedef union _U_IP_ADDRESS { | |||
100 | }; | 100 | }; |
101 | } U_IP_ADDRESS; | 101 | } U_IP_ADDRESS; |
102 | 102 | ||
103 | typedef struct _S_HDR_SUPRESSION_CONTEXTINFO { | 103 | struct bcm_hdr_supression_contextinfo { |
104 | UCHAR ucaHdrSupressionInBuf[MAX_PHS_LENGTHS]; /* Intermediate buffer to accumulate pkt Header for PHS */ | 104 | UCHAR ucaHdrSupressionInBuf[MAX_PHS_LENGTHS]; /* Intermediate buffer to accumulate pkt Header for PHS */ |
105 | UCHAR ucaHdrSupressionOutBuf[MAX_PHS_LENGTHS + PHSI_LEN]; /* Intermediate buffer containing pkt Header after PHS */ | 105 | UCHAR ucaHdrSupressionOutBuf[MAX_PHS_LENGTHS + PHSI_LEN]; /* Intermediate buffer containing pkt Header after PHS */ |
106 | } S_HDR_SUPRESSION_CONTEXTINFO; | 106 | }; |
107 | 107 | ||
108 | struct bcm_classifier_rule { | 108 | struct bcm_classifier_rule { |
109 | ULONG ulSFID; | 109 | ULONG ulSFID; |
@@ -380,7 +380,7 @@ struct _MINI_ADAPTER { | |||
380 | BOOLEAN bLinkDownRequested; | 380 | BOOLEAN bLinkDownRequested; |
381 | int downloadDDR; | 381 | int downloadDDR; |
382 | PHS_DEVICE_EXTENSION stBCMPhsContext; | 382 | PHS_DEVICE_EXTENSION stBCMPhsContext; |
383 | S_HDR_SUPRESSION_CONTEXTINFO stPhsTxContextInfo; | 383 | struct bcm_hdr_supression_contextinfo stPhsTxContextInfo; |
384 | uint8_t ucaPHSPktRestoreBuf[2048]; | 384 | uint8_t ucaPHSPktRestoreBuf[2048]; |
385 | uint8_t bPHSEnabled; | 385 | uint8_t bPHSEnabled; |
386 | BOOLEAN AutoFirmDld; | 386 | BOOLEAN AutoFirmDld; |