diff options
author | Kevin McKinney <klmckinney1@gmail.com> | 2012-11-25 19:29:01 -0500 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2012-11-26 16:07:58 -0800 |
commit | 4aca284f1a0d0b86a0105558a2599937ee32a5b7 (patch) | |
tree | 23a42a5b56bab6c97640bf890d3b6a89beae1797 /drivers/staging/bcm/HostMIBSInterface.h | |
parent | 8a885ae80573430f1d3c31b6b33d078b1ed44aee (diff) |
Staging: bcm: Remove typedef for _S_MIBS_CLASSIFIER_RULE and call directly.
This patch removes typedef for _S_MIBS_CLASSIFIER_RULE, and
changes the name of the struct to bcm_mibs_classifier_rule.
In addition, any calls to typedef S_MIBS_CLASSIFIER_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/HostMIBSInterface.h')
-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 97d8ee5fa5f..d803ff12f56 100644 --- a/drivers/staging/bcm/HostMIBSInterface.h +++ b/drivers/staging/bcm/HostMIBSInterface.h @@ -64,7 +64,7 @@ typedef struct _S_MIBS_HOST_INFO { u32 aRxPktSizeHist[MIBS_MAX_HIST_ENTRIES]; } S_MIBS_HOST_INFO; -typedef struct _S_MIBS_CLASSIFIER_RULE { +struct bcm_mibs_classifier_rule { unsigned long ulSFID; unsigned char ucReserved[2]; u16 uiClassifierRuleIndex; @@ -96,7 +96,7 @@ typedef struct _S_MIBS_CLASSIFIER_RULE { unsigned char ucDirection; bool bIpv6Protocol; u32 u32PHSRuleID; -} S_MIBS_CLASSIFIER_RULE; +}; struct bcm_mibs_phs_rule { unsigned long ulSFID; @@ -183,7 +183,7 @@ struct bcm_mibs_dropped_cntrl_msg { struct bcm_host_stats_mibs { S_MIBS_HOST_INFO stHostInfo; - S_MIBS_CLASSIFIER_RULE astClassifierTable[MIBS_MAX_CLASSIFIERS]; + struct bcm_mibs_classifier_rule astClassifierTable[MIBS_MAX_CLASSIFIERS]; struct bcm_mibs_table astSFtable[MIBS_MAX_SERVICEFLOWS]; struct bcm_mibs_phs_rule astPhsRulesTable[MIBS_MAX_PHSRULES]; struct bcm_mibs_dropped_cntrl_msg stDroppedAppCntrlMsgs; |