diff options
author | Kevin McKinney <klmckinney1@gmail.com> | 2012-09-23 23:07:14 -0400 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2012-09-26 09:31:52 -0700 |
commit | b766fb15e1c489d1e5b5a80501593f61fae3a7eb (patch) | |
tree | 9967c86558b95fde8679546806da27fffa2955d2 /drivers/staging/bcm/cntrl_SignalingInterface.h | |
parent | fc1ad16277bd14c6a4f16a2e32cae186fd6d039e (diff) |
Staging: bcm: Remove typedef for _stServiceFlowParamSI and call directly.
This patch removes typedef for _stServiceFlowParamSI,
changes the name of the struct to
bcm_connect_mgr_params, and updates the
comments appropriately. In addition, any
calls to typedefs "stServiceFlowParamSI,
*pstServiceFlowParamSI, and CServiceFlowParamSI"
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>
Diffstat (limited to 'drivers/staging/bcm/cntrl_SignalingInterface.h')
-rw-r--r-- | drivers/staging/bcm/cntrl_SignalingInterface.h | 20 |
1 files changed, 6 insertions, 14 deletions
diff --git a/drivers/staging/bcm/cntrl_SignalingInterface.h b/drivers/staging/bcm/cntrl_SignalingInterface.h index 43d462e59088..369425528e49 100644 --- a/drivers/staging/bcm/cntrl_SignalingInterface.h +++ b/drivers/staging/bcm/cntrl_SignalingInterface.h @@ -137,8 +137,7 @@ struct _stConvergenceSLTypes { }; typedef struct _stConvergenceSLTypes stConvergenceSLTypes, CConvergenceSLTypes, *pstConvergenceSLTypes; -/* brief structure CServiceFlowParamSI */ -typedef struct _stServiceFlowParamSI { +struct bcm_connect_mgr_params { /* 32bitSFID Of The Service Flow */ B_UINT32 u32SFID; /* 32bit Maximum Sustained Traffic Rate of the Service Flow */ @@ -256,9 +255,7 @@ typedef struct _stServiceFlowParamSI { * Structure for Convergence SubLayer Types with a maximum of 4 classifiers */ stConvergenceSLTypes cConvergenceSLTypes[MAX_CLASSIFIERS_IN_SF]; - -} stServiceFlowParamSI, *pstServiceFlowParamSI; -typedef stServiceFlowParamSI CServiceFlowParamSI; +}; struct bcm_add_request { B_UINT8 u8Type; /* < Type */ @@ -269,8 +266,7 @@ struct bcm_add_request { B_UINT16 u16CID; /* < 16bit CID */ /* brief 16bitVCID */ B_UINT16 u16VCID; /* < 16bit VCID */ - /* brief structure ParameterSet */ - stServiceFlowParamSI *psfParameterSet; /* < structure ParameterSet */ + struct bcm_connect_mgr_params *psfParameterSet; /* < connection manager parameters */ }; struct bcm_add_indication { @@ -282,13 +278,9 @@ struct bcm_add_indication { B_UINT16 u16CID; /* < 16bitCID */ /* brief 16bitVCID */ B_UINT16 u16VCID; /* < 16bitVCID */ - /* brief structure AuthorizedSet */ - /* brief structure AuthorizedSet */ - stServiceFlowParamSI *psfAuthorizedSet; /* < AuthorizedSet of type stServiceFlowParamSI */ - /* brief structure AdmittedSet */ - stServiceFlowParamSI *psfAdmittedSet; /* < AdmittedSet of type stServiceFlowParamSI */ - /* brief structure ActiveSet */ - stServiceFlowParamSI *psfActiveSet; /* < sfActiveSet of type stServiceFlowParamSI */ + struct bcm_connect_mgr_params *psfAuthorizedSet; /* Authorized set of connection manager parameters */ + struct bcm_connect_mgr_params *psfAdmittedSet; /* Admitted set of connection manager parameters */ + struct bcm_connect_mgr_params *psfActiveSet; /* Activeset of connection manager parameters */ B_UINT8 u8CC; /* <Confirmation Code */ B_UINT8 u8Padd; /* < 8-bit Padding */ B_UINT16 u16Padd; /* < 16 bit Padding */ |