aboutsummaryrefslogtreecommitdiff
path: root/drivers/staging/bcm/HostMIBSInterface.h
diff options
context:
space:
mode:
authorKevin McKinney <klmckinney1@gmail.com>2012-11-25 19:29:02 -0500
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2012-11-26 16:07:58 -0800
commit86758b7557d5c094b922c5b958886706576ee74a (patch)
treed6e06252a8d599be5ecd415baceebd6e0dd68e4b /drivers/staging/bcm/HostMIBSInterface.h
parent4aca284f1a0d0b86a0105558a2599937ee32a5b7 (diff)
Staging: bcm: Remove typedef for _S_MIBS_HOST_INFO and call directly.
This patch removes typedef for _S_MIBS_HOST_INFO, and changes the name of the struct to bcm_mibs_host_info. In addition, any calls to typedef S_MIBS_HOST_INFO 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.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/staging/bcm/HostMIBSInterface.h b/drivers/staging/bcm/HostMIBSInterface.h
index d803ff12f56..355905e6c0a 100644
--- a/drivers/staging/bcm/HostMIBSInterface.h
+++ b/drivers/staging/bcm/HostMIBSInterface.h
@@ -43,7 +43,7 @@ typedef union _U_MIBS_IP_ADDRESS {
};
} U_MIBS_IP_ADDRESS;
-typedef struct _S_MIBS_HOST_INFO {
+struct bcm_mibs_host_info {
u64 GoodTransmits;
u64 GoodReceives;
/* this to keep track of the Tx and Rx MailBox Registers. */
@@ -62,7 +62,7 @@ typedef struct _S_MIBS_HOST_INFO {
u32 u32TotalDSD;
u32 aTxPktSizeHist[MIBS_MAX_HIST_ENTRIES];
u32 aRxPktSizeHist[MIBS_MAX_HIST_ENTRIES];
-} S_MIBS_HOST_INFO;
+};
struct bcm_mibs_classifier_rule {
unsigned long ulSFID;
@@ -182,7 +182,7 @@ struct bcm_mibs_dropped_cntrl_msg {
};
struct bcm_host_stats_mibs {
- S_MIBS_HOST_INFO stHostInfo;
+ struct bcm_mibs_host_info stHostInfo;
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];