[PATCH 15/22] Staging: bcm: PHSModule.c: Added const keyword to ValidatePHSRUleComplete() argument
Matthias Beyer
mail at beyermatthias.de
Tue Jul 15 07:43:08 UTC 2014
Signed-off-by: Matthias Beyer <mail at beyermatthias.de>
---
drivers/staging/bcm/PHSModule.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/drivers/staging/bcm/PHSModule.c b/drivers/staging/bcm/PHSModule.c
index 9a24845..47eff76 100644
--- a/drivers/staging/bcm/PHSModule.c
+++ b/drivers/staging/bcm/PHSModule.c
@@ -24,7 +24,7 @@ static UINT UpdateClassifierPHSRule(B_UINT16 uiClsId,
struct bcm_phs_rule *psPhsRule,
B_UINT8 u8AssociatedPHSI);
-static bool ValidatePHSRuleComplete(struct bcm_phs_rule *psPhsRule);
+static bool ValidatePHSRuleComplete(const struct bcm_phs_rule *psPhsRule);
static bool DerefPhsRule(B_UINT16 uiClsId,
struct bcm_phs_classifier_table *psaClassifiertable,
@@ -946,7 +946,7 @@ out:
psServiceFlowRulesTable = NULL;
}
-static bool ValidatePHSRuleComplete(IN struct bcm_phs_rule *psPhsRule)
+static bool ValidatePHSRuleComplete(IN const struct bcm_phs_rule *psPhsRule)
{
return (psPhsRule &&
psPhsRule->u8PHSI &&
--
2.0.1
More information about the devel
mailing list