diff options
author | Kevin McKinney <klmckinney1@gmail.com> | 2012-09-23 23:07:16 -0400 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2012-09-26 12:31:52 -0400 |
commit | d2a392c2bd1dde3e5b8391a23ca1df7ea3d5cec5 (patch) | |
tree | f4f1ba323650fa06bd009dd772ee52e6dded43a1 | |
parent | c07b53131ef87e11d14402a588a44440892f946c (diff) |
Staging: bcm: Remove typedef for _stPhsRuleSI and call directly.
This patch removes typedef for _stPhsRuleSI,
changes the name of the struct to
bcm_phs_rules, and updates the comments
appropriately. In addition, any
calls to typedefs "stPhsRuleSI,
*pstPhsRuleSI, or CPhsRuleSI" are
changed to call the struct directly.
Signed-off-by: Kevin McKinney <klmckinney1@gmail.com>
Acked-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
-rw-r--r-- | drivers/staging/bcm/cntrl_SignalingInterface.h | 10 |
1 files changed, 4 insertions, 6 deletions
diff --git a/drivers/staging/bcm/cntrl_SignalingInterface.h b/drivers/staging/bcm/cntrl_SignalingInterface.h index 1bf4780b32bf..f67cb6e2eaa7 100644 --- a/drivers/staging/bcm/cntrl_SignalingInterface.h +++ b/drivers/staging/bcm/cntrl_SignalingInterface.h | |||
@@ -98,8 +98,7 @@ struct _stCPacketClassificationRuleSI { | |||
98 | }; | 98 | }; |
99 | typedef struct _stCPacketClassificationRuleSI CCPacketClassificationRuleSI, stCPacketClassificationRuleSI, *pstCPacketClassificationRuleSI; | 99 | typedef struct _stCPacketClassificationRuleSI CCPacketClassificationRuleSI, stCPacketClassificationRuleSI, *pstCPacketClassificationRuleSI; |
100 | 100 | ||
101 | /* brief class CPhsRuleSI */ | 101 | struct bcm_phs_rules { |
102 | typedef struct _stPhsRuleSI { | ||
103 | /* 8bit PHS Index Of The Service Flow */ | 102 | /* 8bit PHS Index Of The Service Flow */ |
104 | B_UINT8 u8PHSI; | 103 | B_UINT8 u8PHSI; |
105 | /* PHSF Length Of The Service Flow */ | 104 | /* PHSF Length Of The Service Flow */ |
@@ -119,8 +118,7 @@ typedef struct _stPhsRuleSI { | |||
119 | /* Vendor Specific PHS param Of The Service Flow */ | 118 | /* Vendor Specific PHS param Of The Service Flow */ |
120 | B_UINT8 u8VendorSpecificPHSParams[VENDOR_PHS_PARAM_LENGTH]; | 119 | B_UINT8 u8VendorSpecificPHSParams[VENDOR_PHS_PARAM_LENGTH]; |
121 | B_UINT8 u8Padding[2]; | 120 | B_UINT8 u8Padding[2]; |
122 | } stPhsRuleSI, *pstPhsRuleSI; | 121 | }; |
123 | typedef stPhsRuleSI CPhsRuleSI; | ||
124 | 122 | ||
125 | struct bcm_convergence_types { | 123 | struct bcm_convergence_types { |
126 | /* 8bit Phs Classfier Action Of The Service Flow */ | 124 | /* 8bit Phs Classfier Action Of The Service Flow */ |
@@ -131,8 +129,8 @@ struct bcm_convergence_types { | |||
131 | B_UINT8 u8Padding[2]; | 129 | B_UINT8 u8Padding[2]; |
132 | /* brief class cCPacketClassificationRule */ | 130 | /* brief class cCPacketClassificationRule */ |
133 | stCPacketClassificationRuleSI cCPacketClassificationRule; | 131 | stCPacketClassificationRuleSI cCPacketClassificationRule; |
134 | /* brief class CPhsRuleSI */ | 132 | /* Payload header suppression rules structure */ |
135 | struct _stPhsRuleSI cPhsRule; | 133 | struct bcm_phs_rules cPhsRule; |
136 | }; | 134 | }; |
137 | 135 | ||
138 | struct bcm_connect_mgr_params { | 136 | struct bcm_connect_mgr_params { |