summaryrefslogtreecommitdiff
path: root/drivers/staging/bcm/hostmibs.c
diff options
context:
space:
mode:
authorKevin McKinney <klmckinney1@gmail.com>2012-11-26 04:28:57 +0400
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2012-11-27 04:07:57 +0400
commit2790a3cc82b864faf924d703640a4f1dc61d8802 (patch)
tree28d19a298eac2a16e821164a21447079fdbe34b2 /drivers/staging/bcm/hostmibs.c
parent954f91d1afbdb1b7e1870df405c824b68fd145ad (diff)
downloadlinux-2790a3cc82b864faf924d703640a4f1dc61d8802.tar.xz
Staging: bcm: Remove typedef for _S_MIBS_DROPPED_APP_CNTRL_MESSAGES and call directly.
This patch removes typedef for _S_MIBS_DROPPED_APP_CNTRL_MESSAGES, and changes the name of the struct to bcm_mibs_dropped_cntrl_msg. In addition, any calls to typedef S_MIBS_DROPPED_APP_CNTRL_MESSAGES 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.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/staging/bcm/hostmibs.c b/drivers/staging/bcm/hostmibs.c
index 23ff8325fa8b..e7dc39ea7ae6 100644
--- a/drivers/staging/bcm/hostmibs.c
+++ b/drivers/staging/bcm/hostmibs.c
@@ -98,7 +98,7 @@ VOID GetDroppedAppCntrlPktMibs(struct bcm_host_stats_mibs *pstHostMibs, struct b
{
memcpy(&(pstHostMibs->stDroppedAppCntrlMsgs),
&(pTarang->stDroppedAppCntrlMsgs),
- sizeof(S_MIBS_DROPPED_APP_CNTRL_MESSAGES));
+ sizeof(struct bcm_mibs_dropped_cntrl_msg));
}
VOID CopyMIBSExtendedSFParameters(struct bcm_mini_adapter *Adapter, struct bcm_connect_mgr_params *psfLocalSet, UINT uiSearchRuleIndex)