This patch removes typedef for _stPhsRuleSI, changes the name of the struct to bcm_stphsrulesi. 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, 4 insertions(+), 5 deletions(-) diff --git a/drivers/staging/bcm/cntrl_SignalingInterface.h b/drivers/staging/bcm/cntrl_SignalingInterface.h index e0d4ede..18d3d6d 100644 --- a/drivers/staging/bcm/cntrl_SignalingInterface.h +++ b/drivers/staging/bcm/cntrl_SignalingInterface.h @@ -98,8 +98,8 @@ struct _stCPacketClassificationRuleSI { }; typedef struct _stCPacketClassificationRuleSI CCPacketClassificationRuleSI, stCPacketClassificationRuleSI, *pstCPacketClassificationRuleSI; -/* brief class CPhsRuleSI */ -typedef struct _stPhsRuleSI { +/* brief class bcm_stphsrulesi */ +struct bcm_stphsrulesi { /* 8bit PHS Index Of The Service Flow */ B_UINT8 u8PHSI; /* PHSF Length Of The Service Flow */ @@ -119,8 +119,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; +}; /* brief structure bcm_stonvergencesltypes */ struct bcm_stconvergencesltypes { @@ -133,7 +132,7 @@ struct bcm_stconvergencesltypes { /* brief class cCPacketClassificationRule */ stCPacketClassificationRuleSI cCPacketClassificationRule; /* brief class CPhsRuleSI */ - struct _stPhsRuleSI cPhsRule; + struct bcm_stphsrulesi cPhsRule; }; /* brief structure CServiceFlowParamSI */ -- 1.7.9.5 _______________________________________________ devel mailing list devel@xxxxxxxxxxxxxxxxxxxxxx http://driverdev.linuxdriverproject.org/mailman/listinfo/devel