summaryrefslogtreecommitdiffstats
path: root/drivers/staging/bcm/CmHost.c
diff options
context:
space:
mode:
authorKevin McKinney <klmckinney1@gmail.com>2012-12-20 00:31:34 -0500
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2013-01-07 10:54:49 -0800
commita903d65055199bfad94ae3af598d45970f62f8c2 (patch)
treebb1c0ccbb0d1a275b9736b193a4e191e57f26fd6 /drivers/staging/bcm/CmHost.c
parent37fed6ac26c7637bce6e60c17f5d2bb468c8ffd0 (diff)
downloadop-kernel-dev-a903d65055199bfad94ae3af598d45970f62f8c2.zip
op-kernel-dev-a903d65055199bfad94ae3af598d45970f62f8c2.tar.gz
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/CmHost.c')
-rw-r--r--drivers/staging/bcm/CmHost.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/staging/bcm/CmHost.c b/drivers/staging/bcm/CmHost.c
index 78335f9..97651450 100644
--- a/drivers/staging/bcm/CmHost.c
+++ b/drivers/staging/bcm/CmHost.c
@@ -440,7 +440,7 @@ static VOID CopyToAdapter(register struct bcm_mini_adapter *Adapter, /* <Pointer
B_UINT16 u16PacketClassificationRuleIndex = 0;
int i;
struct bcm_convergence_types *psfCSType = NULL;
- S_PHS_RULE sPhsRule;
+ struct bcm_phs_rule sPhsRule;
USHORT uVCID = Adapter->PackInfo[uiSearchRuleIndex].usVCID_Value;
UINT UGIValue = 0;
@@ -703,7 +703,7 @@ static VOID CopyToAdapter(register struct bcm_mini_adapter *Adapter, /* <Pointer
/* Update PHS Rule For the Classifier */
if (sPhsRule.u8PHSI) {
Adapter->astClassifierTable[uiClassifierIndex].u32PHSRuleID = sPhsRule.u8PHSI;
- memcpy(&Adapter->astClassifierTable[uiClassifierIndex].sPhsRule, &sPhsRule, sizeof(S_PHS_RULE));
+ memcpy(&Adapter->astClassifierTable[uiClassifierIndex].sPhsRule, &sPhsRule, sizeof(struct bcm_phs_rule));
}
}
}
OpenPOWER on IntegriCloud