]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - net/sched/sch_ingress.c
[NET]: Move Qdisc_class_ops and Qdisc_ops in appropriate sections.
[linux-2.6-omap-h63xx.git] / net / sched / sch_ingress.c
index d377deca4f204d823cc3b70a96434daa4177e35d..902d82ea764bb7670a26a92ed7be92aaf4ab4582 100644 (file)
@@ -338,7 +338,7 @@ rtattr_failure:
        return -1;
 }
 
-static struct Qdisc_class_ops ingress_class_ops = {
+static const struct Qdisc_class_ops ingress_class_ops = {
        .graft          =       ingress_graft,
        .leaf           =       ingress_leaf,
        .get            =       ingress_get,
@@ -352,7 +352,7 @@ static struct Qdisc_class_ops ingress_class_ops = {
        .dump           =       NULL,
 };
 
-static struct Qdisc_ops ingress_qdisc_ops = {
+static struct Qdisc_ops ingress_qdisc_ops __read_mostly = {
        .next           =       NULL,
        .cl_ops         =       &ingress_class_ops,
        .id             =       "ingress",