summaryrefslogtreecommitdiffstats
path: root/drivers/staging/bcm/Misc.c
diff options
context:
space:
mode:
authorKevin McKinney <klmckinney1@gmail.com>2012-11-25 19:28:59 -0500
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2012-11-26 16:07:57 -0800
commit8c7d51a3e83cfd508e7e766177be57ec7c829f54 (patch)
treef1a7b4fc0d7f4cab9731ab04cabc8b0513890892 /drivers/staging/bcm/Misc.c
parentba738b43e4d8f82aa17767f9d4707ac301720cbc (diff)
downloadlinux-8c7d51a3e83cfd508e7e766177be57ec7c829f54.tar.gz
linux-8c7d51a3e83cfd508e7e766177be57ec7c829f54.tar.bz2
linux-8c7d51a3e83cfd508e7e766177be57ec7c829f54.zip
Staging: bcm: Remove typedef for _S_MIBS_EXTSERVICEFLOW_PARAMETERS and call directly.
This patch removes typedef for _S_MIBS_EXTSERVICEFLOW_PARAMETERS, and changes the name of the struct to bcm_mibs_parameters. In addition, any calls to typedef S_MIBS_EXTSERVICEFLOW_PARAMETERS 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/Misc.c')
-rw-r--r--drivers/staging/bcm/Misc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/staging/bcm/Misc.c b/drivers/staging/bcm/Misc.c
index 9e9a93627dd9..c92078e7fe86 100644
--- a/drivers/staging/bcm/Misc.c
+++ b/drivers/staging/bcm/Misc.c
@@ -1575,6 +1575,6 @@ static void beceem_protocol_reset(struct bcm_mini_adapter *Adapter)
for (i = 0; i < HiPriority; i++) {
/* resetting only the first size (S_MIBS_SERVICEFLOW_TABLE) for the SF. */
/* It is same between MIBs and SF. */
- memset(&Adapter->PackInfo[i].stMibsExtServiceFlowTable, 0, sizeof(S_MIBS_EXTSERVICEFLOW_PARAMETERS));
+ memset(&Adapter->PackInfo[i].stMibsExtServiceFlowTable, 0, sizeof(struct bcm_mibs_parameters));
}
}