This patch removes typedef for _stPhsRuleSI, and changes the name of the struct to bcm_rule. In addition, any calls to typedefs "stPhsRuleSI, *pstPhsRuleSI, or CPhsRuleSI" are changed to call the struct directly. Signed-off-by: Kevin McKinney <klmckinney1@xxxxxxxxx> --- drivers/staging/bcm/cntrl_SignalingInterface.h | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/drivers/staging/bcm/cntrl_SignalingInterface.h b/drivers/staging/bcm/cntrl_SignalingInterface.h index 231e7a6..87ee1e3 100644 --- a/drivers/staging/bcm/cntrl_SignalingInterface.h +++ b/drivers/staging/bcm/cntrl_SignalingInterface.h @@ -98,8 +98,7 @@ struct _stCPacketClassificationRuleSI { }; typedef struct _stCPacketClassificationRuleSI CCPacketClassificationRuleSI, stCPacketClassificationRuleSI, *pstCPacketClassificationRuleSI; -/* brief class CPhsRuleSI */ -typedef struct _stPhsRuleSI { +struct bcm_rule { /* 8bit PHS Index Of The Service Flow */ B_UINT8 u8PHSI; /* PHSF Length Of The Service Flow */ @@ -119,8 +118,7 @@ typedef struct _stPhsRuleSI { /* Vendor Specific PHS param Of The Service Flow */ B_UINT8 u8VendorSpecificPHSParams[VENDOR_PHS_PARAM_LENGTH]; B_UINT8 u8Padding[2]; -} stPhsRuleSI, *pstPhsRuleSI; -typedef stPhsRuleSI CPhsRuleSI; +}; struct bcm_convergence_types { /* 8bit Phs Classfier Action Of The Service Flow */ @@ -131,8 +129,7 @@ struct bcm_convergence_types { B_UINT8 u8Padding[2]; /* brief class cCPacketClassificationRule */ stCPacketClassificationRuleSI cCPacketClassificationRule; - /* brief class CPhsRuleSI */ - struct _stPhsRuleSI cPhsRule; + struct bcm_rule cPhsRule; }; struct bcm_service_flow { -- 1.7.9.5 _______________________________________________ devel mailing list devel@xxxxxxxxxxxxxxxxxxxxxx http://driverdev.linuxdriverproject.org/mailman/listinfo/devel