summaryrefslogtreecommitdiffstats
path: root/drivers/staging/bcm/hostmibs.c
diff options
context:
space:
mode:
authorKevin McKinney <klmckinney1@gmail.com>2012-11-25 19:28:56 -0500
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2012-11-26 16:07:57 -0800
commit954f91d1afbdb1b7e1870df405c824b68fd145ad (patch)
tree6b345367f69249b06f2ceecb020a286c85bfc6cc /drivers/staging/bcm/hostmibs.c
parent2a4d3a20cd49d4ea7a86aee2171765a4807ef39c (diff)
downloadlinux-954f91d1afbdb1b7e1870df405c824b68fd145ad.tar.bz2
Staging: bcm: Remove typedef for _S_MIBS_HOST_STATS_MIBS and call directly.
This patch removes typedef for _S_MIBS_HOST_STATS_MIBS, and changes the name of the struct to bcm_host_stats_mibs. In addition, any calls to typedefs S_MIBS_HOST_STATS_MIBS 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/hostmibs.c')
-rw-r--r--drivers/staging/bcm/hostmibs.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/staging/bcm/hostmibs.c b/drivers/staging/bcm/hostmibs.c
index 10361bb35059..23ff8325fa8b 100644
--- a/drivers/staging/bcm/hostmibs.c
+++ b/drivers/staging/bcm/hostmibs.c
@@ -9,7 +9,7 @@
#include "headers.h"
-INT ProcessGetHostMibs(struct bcm_mini_adapter *Adapter, S_MIBS_HOST_STATS_MIBS *pstHostMibs)
+INT ProcessGetHostMibs(struct bcm_mini_adapter *Adapter, struct bcm_host_stats_mibs *pstHostMibs)
{
S_SERVICEFLOW_ENTRY *pstServiceFlowEntry = NULL;
S_PHS_RULE *pstPhsRule = NULL;
@@ -94,7 +94,7 @@ INT ProcessGetHostMibs(struct bcm_mini_adapter *Adapter, S_MIBS_HOST_STATS_MIBS
return STATUS_SUCCESS;
}
-VOID GetDroppedAppCntrlPktMibs(S_MIBS_HOST_STATS_MIBS *pstHostMibs, struct bcm_tarang_data *pTarang)
+VOID GetDroppedAppCntrlPktMibs(struct bcm_host_stats_mibs *pstHostMibs, struct bcm_tarang_data *pTarang)
{
memcpy(&(pstHostMibs->stDroppedAppCntrlMsgs),
&(pTarang->stDroppedAppCntrlMsgs),