diff options
author | Kevin McKinney <klmckinney1@gmail.com> | 2012-09-24 03:07:15 (GMT) |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2012-09-26 16:31:52 (GMT) |
commit | c07b53131ef87e11d14402a588a44440892f946c (patch) | |
tree | d9a082e8fc4c3191e2dc14540b803bb1c197f191 /drivers/staging/bcm/cntrl_SignalingInterface.h | |
parent | b766fb15e1c489d1e5b5a80501593f61fae3a7eb (diff) | |
download | linux-fsl-qoriq-c07b53131ef87e11d14402a588a44440892f946c.tar.xz |
Staging: bcm: Remove typedef for _stConvergenceSLTypes and call directly.
This patch removes typedef for _stConvergenceSLTypes,
changes the name of the struct to
bcm_convergence_types, and updates the
comments appropriately. In addition, any
calls to typedefs "stConvergenceSLTypes,
CConvergenceSLTypes, and *pstConvergenceSLTypes"
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 | 12 |
1 files changed, 5 insertions, 7 deletions
diff --git a/drivers/staging/bcm/cntrl_SignalingInterface.h b/drivers/staging/bcm/cntrl_SignalingInterface.h index 3694255..1bf4780 100644 --- a/drivers/staging/bcm/cntrl_SignalingInterface.h +++ b/drivers/staging/bcm/cntrl_SignalingInterface.h @@ -122,8 +122,7 @@ typedef struct _stPhsRuleSI { } stPhsRuleSI, *pstPhsRuleSI; typedef stPhsRuleSI CPhsRuleSI; -/* brief structure cConvergenceSLTypes */ -struct _stConvergenceSLTypes { +struct bcm_convergence_types { /* 8bit Phs Classfier Action Of The Service Flow */ B_UINT8 u8ClassfierDSCAction; /* 8bit Phs DSC Action Of The Service Flow */ @@ -135,7 +134,6 @@ struct _stConvergenceSLTypes { /* brief class CPhsRuleSI */ struct _stPhsRuleSI cPhsRule; }; -typedef struct _stConvergenceSLTypes stConvergenceSLTypes, CConvergenceSLTypes, *pstConvergenceSLTypes; struct bcm_connect_mgr_params { /* 32bitSFID Of The Service Flow */ @@ -251,10 +249,10 @@ struct bcm_connect_mgr_params { B_UINT8 u8TotalClassifiers; /* < Total number of valid classifiers */ B_UINT8 bValid; /* < Validity flag */ B_UINT8 u8Padding; /* < Padding byte */ -/* - * Structure for Convergence SubLayer Types with a maximum of 4 classifiers - */ - stConvergenceSLTypes cConvergenceSLTypes[MAX_CLASSIFIERS_IN_SF]; + /* + * Structure for Convergence SubLayer Types with a maximum of 4 classifiers + */ + struct bcm_convergence_types cConvergenceSLTypes[MAX_CLASSIFIERS_IN_SF]; }; struct bcm_add_request { |