summaryrefslogtreecommitdiff
path: root/drivers/staging/bcm/hostmibs.c
diff options
context:
space:
mode:
authorKevin McKinney <klmckinney1@gmail.com>2012-12-20 09:31:34 +0400
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2013-01-07 22:54:49 +0400
commita903d65055199bfad94ae3af598d45970f62f8c2 (patch)
treebb1c0ccbb0d1a275b9736b193a4e191e57f26fd6 /drivers/staging/bcm/hostmibs.c
parent37fed6ac26c7637bce6e60c17f5d2bb468c8ffd0 (diff)
downloadlinux-a903d65055199bfad94ae3af598d45970f62f8c2.tar.xz
Staging: bcm: Remove typedef for _S_PHS_RULE and call directly.
This patch removes typedef for _S_PHS_RULE, and changes the name of the struct to bcm_phs_rule. In addition, any calls to struct "S_PHS_RULE" are changed to call 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 44bc11d5c101..f55300db1d48 100644
--- a/drivers/staging/bcm/hostmibs.c
+++ b/drivers/staging/bcm/hostmibs.c
@@ -12,7 +12,7 @@
INT ProcessGetHostMibs(struct bcm_mini_adapter *Adapter, struct bcm_host_stats_mibs *pstHostMibs)
{
struct bcm_phs_entry *pstServiceFlowEntry = NULL;
- S_PHS_RULE *pstPhsRule = NULL;
+ struct bcm_phs_rule *pstPhsRule = NULL;
struct bcm_phs_classifier_table *pstClassifierTable = NULL;
struct bcm_phs_classifier_entry *pstClassifierRule = NULL;
struct bcm_phs_extension *pDeviceExtension = (struct bcm_phs_extension *) &Adapter->stBCMPhsContext;
@@ -70,7 +70,7 @@ INT ProcessGetHostMibs(struct bcm_mini_adapter *Adapter, struct bcm_host_stats_m
memcpy(&pstHostMibs->
astPhsRulesTable[nPhsTableIndex].u8PHSI,
- &pstPhsRule->u8PHSI, sizeof(S_PHS_RULE));
+ &pstPhsRule->u8PHSI, sizeof(struct bcm_phs_rule));
nPhsTableIndex++;
}