the 'dev' member of the structure was removed in 2.6.27 (see: http://git.kernel.org...
authorFlorian Fainelli <florian@openwrt.org>
Wed, 26 Nov 2008 18:16:23 +0000 (18:16 +0000)
committerFlorian Fainelli <florian@openwrt.org>
Wed, 26 Nov 2008 18:16:23 +0000 (18:16 +0000)
Signed-off-by: Russell Senior <seniorr@aracnet.com>
SVN-Revision: 13366

target/linux/generic-2.6/patches-2.6.27/200-sched_esfq.patch

index 8c8b56bcd00ad8fa1e7266b63e20d1136286f47c..ef4c21f771444174f01aa08ca9f91065c5166cd5 100644 (file)
 +      struct esfq_sched_data *q = qdisc_priv(sch);
 +      int err;
 +
-+      q->quantum = psched_mtu(sch->dev); /* default */
++      q->quantum = psched_mtu(qdisc_dev(sch)); /* default */
 +      if ((err = esfq_q_init(q, opt)))
 +              return err;
 +
 +
 +      /* set up new queue */
 +      memset(&new, 0, sizeof(struct esfq_sched_data));
-+      new.quantum = psched_mtu(sch->dev); /* default */
++      new.quantum = psched_mtu(qdisc_dev(sch)); /* default */
 +      if ((err = esfq_q_init(&new, opt)))
 +              return err;
 +