Staging: bcm: PHSModule.c: Added const keyword to ValidatePHSRUleComplete() argument
authorMatthias Beyer <mail@beyermatthias.de>
Tue, 15 Jul 2014 07:43:08 +0000 (09:43 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 15 Jul 2014 15:09:49 +0000 (08:09 -0700)
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>
drivers/staging/bcm/PHSModule.c

index 9a248454a70a6e60c6861c8464207e94cf9b2c42..47eff7629039adef48c3596f7c8f751c5ff2b237 100644 (file)
@@ -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 &&