aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKevin McKinney <klmckinney1@gmail.com>2012-09-23 23:07:17 -0400
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2012-09-26 12:31:52 -0400
commit4b0cb3cb3bf96fd22bc9c5b0de5a3751f18e8fb6 (patch)
treee43a090d8124409effc2c300851a05c186f27d05
parentd2a392c2bd1dde3e5b8391a23ca1df7ea3d5cec5 (diff)
Staging: bcm: Remove typedef for _stCPacketClassificationRuleSI and call directly.
This patch removes typedef for _stCPacketClassificationRuleSI, changes the name of the struct to bcm_packet_class_rules, and updates the comments appropriately . In addition, any calls to typedefs "CCPacketClassificationRuleSI, stCPacketClassificationRuleSI, or *pstCPacketClassificationRuleSI" 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.h12
1 files changed, 3 insertions, 9 deletions
diff --git a/drivers/staging/bcm/cntrl_SignalingInterface.h b/drivers/staging/bcm/cntrl_SignalingInterface.h
index f67cb6e2eaa7..990e809e9680 100644
--- a/drivers/staging/bcm/cntrl_SignalingInterface.h
+++ b/drivers/staging/bcm/cntrl_SignalingInterface.h
@@ -34,12 +34,7 @@
34#define NUM_ETHERTYPE_BYTES 3 34#define NUM_ETHERTYPE_BYTES 3
35#define NUM_IPV6_FLOWLABLE_BYTES 3 35#define NUM_IPV6_FLOWLABLE_BYTES 3
36 36
37/* 37struct bcm_packet_class_rules {
38 * structure Definitions
39 *
40 * brief class cCPacketClassificationRule
41 */
42struct _stCPacketClassificationRuleSI {
43 /* 16bit UserPriority Of The Service Flow */ 38 /* 16bit UserPriority Of The Service Flow */
44 B_UINT16 u16UserPriority; 39 B_UINT16 u16UserPriority;
45 /* 16bit VLANID Of The Service Flow */ 40 /* 16bit VLANID Of The Service Flow */
@@ -96,7 +91,6 @@ struct _stCPacketClassificationRuleSI {
96 B_UINT8 u8ClassifierActionRule; 91 B_UINT8 u8ClassifierActionRule;
97 B_UINT16 u16ValidityBitMap; 92 B_UINT16 u16ValidityBitMap;
98}; 93};
99typedef struct _stCPacketClassificationRuleSI CCPacketClassificationRuleSI, stCPacketClassificationRuleSI, *pstCPacketClassificationRuleSI;
100 94
101struct bcm_phs_rules { 95struct bcm_phs_rules {
102 /* 8bit PHS Index Of The Service Flow */ 96 /* 8bit PHS Index Of The Service Flow */
@@ -127,8 +121,8 @@ struct bcm_convergence_types {
127 B_UINT8 u8PhsDSCAction; 121 B_UINT8 u8PhsDSCAction;
128 /* 16bit Padding */ 122 /* 16bit Padding */
129 B_UINT8 u8Padding[2]; 123 B_UINT8 u8Padding[2];
130 /* brief class cCPacketClassificationRule */ 124 /* Packet classification rules structure */
131 stCPacketClassificationRuleSI cCPacketClassificationRule; 125 struct bcm_packet_class_rules cCPacketClassificationRule;
132 /* Payload header suppression rules structure */ 126 /* Payload header suppression rules structure */
133 struct bcm_phs_rules cPhsRule; 127 struct bcm_phs_rules cPhsRule;
134}; 128};