From: Matthias Beyer Date: Tue, 15 Jul 2014 07:43:08 +0000 (+0200) Subject: Staging: bcm: PHSModule.c: Added const keyword to ValidatePHSRUleComplete() argument X-Git-Url: http://git.cdn.openwrt.org/?a=commitdiff_plain;h=14d8e915964b9566f37acbedcfd17daeb0633105;p=openwrt%2Fstaging%2Fblogic.git Staging: bcm: PHSModule.c: Added const keyword to ValidatePHSRUleComplete() argument Signed-off-by: Matthias Beyer Reviewed-by: Dan Carpenter Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/staging/bcm/PHSModule.c b/drivers/staging/bcm/PHSModule.c index 9a248454a70a..47eff7629039 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 &&