diff options
Diffstat (limited to 'net/sched/sch_api.c')
-rw-r--r-- | net/sched/sch_api.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/sched/sch_api.c b/net/sched/sch_api.c index 1122c952aa99..b16ad2972c6b 100644 --- a/net/sched/sch_api.c +++ b/net/sched/sch_api.c | |||
@@ -764,7 +764,7 @@ qdisc_create(struct net_device *dev, struct netdev_queue *dev_queue, | |||
764 | struct qdisc_size_table *stab; | 764 | struct qdisc_size_table *stab; |
765 | 765 | ||
766 | ops = qdisc_lookup_ops(kind); | 766 | ops = qdisc_lookup_ops(kind); |
767 | #ifdef CONFIG_KMOD | 767 | #ifdef CONFIG_MODULES |
768 | if (ops == NULL && kind != NULL) { | 768 | if (ops == NULL && kind != NULL) { |
769 | char name[IFNAMSIZ]; | 769 | char name[IFNAMSIZ]; |
770 | if (nla_strlcpy(name, kind, IFNAMSIZ) < IFNAMSIZ) { | 770 | if (nla_strlcpy(name, kind, IFNAMSIZ) < IFNAMSIZ) { |