diff options
author | Kevin McKinney <klmckinney1@gmail.com> | 2012-11-26 00:29:00 (GMT) |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2012-11-27 00:07:58 (GMT) |
commit | 8a885ae80573430f1d3c31b6b33d078b1ed44aee (patch) | |
tree | 154ea0c1e966d0f7478a7c99eeddb0e2ea725289 /drivers/staging/bcm | |
parent | 8c7d51a3e83cfd508e7e766177be57ec7c829f54 (diff) | |
download | linux-fsl-qoriq-8a885ae80573430f1d3c31b6b33d078b1ed44aee.tar.xz |
Staging: bcm: Remove typedef for _S_MIBS_PHS_RULE and call directly.
This patch removes typedef for _S_MIBS_PHS_RULE,
and changes the name of the struct to bcm_mibs_phs_rule.
In addition, any calls to typedef S_MIBS_PHS_RULE are
changed to call the struct directly.
Signed-off-by: Kevin McKinney <klmckinney1@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/bcm')
-rw-r--r-- | drivers/staging/bcm/HostMIBSInterface.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/staging/bcm/HostMIBSInterface.h b/drivers/staging/bcm/HostMIBSInterface.h index a09e354..97d8ee5 100644 --- a/drivers/staging/bcm/HostMIBSInterface.h +++ b/drivers/staging/bcm/HostMIBSInterface.h @@ -98,7 +98,7 @@ typedef struct _S_MIBS_CLASSIFIER_RULE { u32 u32PHSRuleID; } S_MIBS_CLASSIFIER_RULE; -typedef struct _S_MIBS_PHS_RULE { +struct bcm_mibs_phs_rule { unsigned long ulSFID; u8 u8PHSI; u8 u8PHSFLength; @@ -111,7 +111,7 @@ typedef struct _S_MIBS_PHS_RULE { long PHSModifiedBytes; unsigned long PHSModifiedNumPackets; unsigned long PHSErrorNumPackets; -} S_MIBS_PHS_RULE; +}; struct bcm_mibs_parameters { u32 wmanIfSfid; @@ -185,7 +185,7 @@ struct bcm_host_stats_mibs { S_MIBS_HOST_INFO stHostInfo; S_MIBS_CLASSIFIER_RULE astClassifierTable[MIBS_MAX_CLASSIFIERS]; struct bcm_mibs_table astSFtable[MIBS_MAX_SERVICEFLOWS]; - S_MIBS_PHS_RULE astPhsRulesTable[MIBS_MAX_PHSRULES]; + struct bcm_mibs_phs_rule astPhsRulesTable[MIBS_MAX_PHSRULES]; struct bcm_mibs_dropped_cntrl_msg stDroppedAppCntrlMsgs; }; |