net: sched: constify tcf_proto and tc_action
[GitHub/mt8127/android_kernel_alcatel_ttab.git] / net / sched / cls_basic.c
index 8be8872dd571c168c798807f0dc89a3dbb4d859c..ea1f70b5a5f4747f2988c0b354a0abac7f2443da 100644 (file)
@@ -39,7 +39,7 @@ static const struct tcf_ext_map basic_ext_map = {
        .police = TCA_BASIC_POLICE
 };
 
-static int basic_classify(struct sk_buff *skb, struct tcf_proto *tp,
+static int basic_classify(struct sk_buff *skb, const struct tcf_proto *tp,
                          struct tcf_result *res)
 {
        int r;