summaryrefslogtreecommitdiff
path: root/drivers/staging/bcm/PHSModule.c
diff options
context:
space:
mode:
authorMatthias Beyer <mail@beyermatthias.de>2014-07-15 09:43:08 +0200
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2014-07-15 08:09:49 -0700
commit14d8e915964b9566f37acbedcfd17daeb0633105 (patch)
tree1a6e137709ef29d43527c723432060280f21ecca /drivers/staging/bcm/PHSModule.c
parentcc872f80709326283bd6d21324be54374d8bde8f (diff)
downloadlinux-14d8e915964b9566f37acbedcfd17daeb0633105.tar.gz
linux-14d8e915964b9566f37acbedcfd17daeb0633105.tar.bz2
linux-14d8e915964b9566f37acbedcfd17daeb0633105.zip
Staging: bcm: PHSModule.c: Added const keyword to ValidatePHSRUleComplete() argument
Signed-off-by: Matthias Beyer <mail@beyermatthias.de> Reviewed-by: Dan Carpenter <dan.carpenter@oracle.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/bcm/PHSModule.c')
-rw-r--r--drivers/staging/bcm/PHSModule.c4
1 files changed, 2 insertions, 2 deletions
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 &&