aboutsummaryrefslogtreecommitdiffstats
path: root/include/net
diff options
context:
space:
mode:
authorstephen hemminger <stephen@networkplumber.org>2013-08-31 10:15:50 -0700
committerDavid S. Miller <davem@davemloft.net>2013-08-31 18:09:45 -0400
commitd2a7f269f91299b8e5f6c7d2a41ba46248d73d24 (patch)
tree91016a49e4e244f1f13ec067f816e6166801b70f /include/net
parent6da7c8fcbcbdb50ec68c61b40d554c74850fdb91 (diff)
downloadkernel_goldelico_gta04-d2a7f269f91299b8e5f6c7d2a41ba46248d73d24.zip
kernel_goldelico_gta04-d2a7f269f91299b8e5f6c7d2a41ba46248d73d24.tar.gz
kernel_goldelico_gta04-d2a7f269f91299b8e5f6c7d2a41ba46248d73d24.tar.bz2
qdisc: make args to qdisc_create_default const
Fixes warnings introduced by the qdisc default patch. Signed-off-by: Stephen Hemminger <stephen@networkplumber.org> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/net')
-rw-r--r--include/net/sch_generic.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/net/sch_generic.h b/include/net/sch_generic.h
index 2e31bf1..f4eb365 100644
--- a/include/net/sch_generic.h
+++ b/include/net/sch_generic.h
@@ -370,9 +370,9 @@ void qdisc_reset(struct Qdisc *qdisc);
void qdisc_destroy(struct Qdisc *qdisc);
void qdisc_tree_decrease_qlen(struct Qdisc *qdisc, unsigned int n);
struct Qdisc *qdisc_alloc(struct netdev_queue *dev_queue,
- struct Qdisc_ops *ops);
+ const struct Qdisc_ops *ops);
struct Qdisc *qdisc_create_dflt(struct netdev_queue *dev_queue,
- struct Qdisc_ops *ops, u32 parentid);
+ const struct Qdisc_ops *ops, u32 parentid);
void __qdisc_calculate_pkt_len(struct sk_buff *skb,
const struct qdisc_size_table *stab);
void tcf_destroy(struct tcf_proto *tp);