diff options
Diffstat (limited to 'net/sched/sch_tbf.c')
-rw-r--r-- | net/sched/sch_tbf.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/net/sched/sch_tbf.c b/net/sched/sch_tbf.c index b0d81098b0ee..d88fea9d6b61 100644 --- a/net/sched/sch_tbf.c +++ b/net/sched/sch_tbf.c | |||
@@ -469,7 +469,7 @@ static struct tcf_proto **tbf_find_tcf(struct Qdisc *sch, unsigned long cl) | |||
469 | return NULL; | 469 | return NULL; |
470 | } | 470 | } |
471 | 471 | ||
472 | static struct Qdisc_class_ops tbf_class_ops = | 472 | static const struct Qdisc_class_ops tbf_class_ops = |
473 | { | 473 | { |
474 | .graft = tbf_graft, | 474 | .graft = tbf_graft, |
475 | .leaf = tbf_leaf, | 475 | .leaf = tbf_leaf, |
@@ -482,7 +482,7 @@ static struct Qdisc_class_ops tbf_class_ops = | |||
482 | .dump = tbf_dump_class, | 482 | .dump = tbf_dump_class, |
483 | }; | 483 | }; |
484 | 484 | ||
485 | static struct Qdisc_ops tbf_qdisc_ops = { | 485 | static struct Qdisc_ops tbf_qdisc_ops __read_mostly = { |
486 | .next = NULL, | 486 | .next = NULL, |
487 | .cl_ops = &tbf_class_ops, | 487 | .cl_ops = &tbf_class_ops, |
488 | .id = "tbf", | 488 | .id = "tbf", |