X-Git-Url: http://git.rot13.org/?a=blobdiff_plain;f=net%2Fmac80211%2Fwme.c;h=8dbdededdec21f44f4aa150c500f5a42661ebf52;hb=c715350828b12ce3b29e655fec7a7d6b22245d00;hp=5b8a157975a35dd452bc6e03e17f5dafcae09788;hpb=ebf8889bd1fe3615991ff4494635d237280652a2;p=powerpc.git diff --git a/net/mac80211/wme.c b/net/mac80211/wme.c index 5b8a157975..8dbdededde 100644 --- a/net/mac80211/wme.c +++ b/net/mac80211/wme.c @@ -527,7 +527,7 @@ static struct tcf_proto ** wme_classop_find_tcf(struct Qdisc *qd, /* this qdisc is classful (i.e. has classes, some of which may have leaf qdiscs attached) * - these are the operations on the classes */ -static struct Qdisc_class_ops class_ops = +static const struct Qdisc_class_ops class_ops = { .graft = wme_classop_graft, .leaf = wme_classop_leaf, @@ -547,7 +547,7 @@ static struct Qdisc_class_ops class_ops = /* queueing discipline operations */ -static struct Qdisc_ops wme_qdisc_ops = +static struct Qdisc_ops wme_qdisc_ops __read_mostly = { .next = NULL, .cl_ops = &class_ops,