diff options
author | Shaun Ruffell <sruffell@digium.com> | 2012-04-03 21:54:34 +0000 |
---|---|---|
committer | Shaun Ruffell <sruffell@digium.com> | 2012-04-03 21:54:34 +0000 |
commit | 9f509efa770691a65f3934e37e24a07af1b2a4df (patch) | |
tree | 0294d0da32cdfe98c3d551cfae185ea44d04044c | |
parent | 72a8949acfc011591fe69e0ca0379bf1af39465e (diff) |
dahdi: Fix compilation when CONFIG_DAHDI_NET is defined.
'irq' field was removed from dahdi_span in r10276 "dahdi: Remove
dahdi_span.irq and move dahdi_span.irqmisses into dahdi_device." [1]
which was first released in dahdi-linux 2.6.0.
[1] http://svnview.digium.com/svn/dahdi?view=revision&revision=10276
Reported-by: Pavel Selivanov
Internal-Issue-ID: DAHLIN-278
Patches: hdlc.patch by Pavel Selivanov (license #5420)
Signed-off-by: Shaun Ruffell <sruffell@digium.com>
git-svn-id: http://svn.asterisk.org/svn/dahdi/linux/trunk@10634 a0bf4364-ded3-4de4-8d8a-66a801d63aff
-rw-r--r-- | drivers/dahdi/dahdi-base.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/dahdi/dahdi-base.c b/drivers/dahdi/dahdi-base.c index e72e744..bf4d552 100644 --- a/drivers/dahdi/dahdi-base.c +++ b/drivers/dahdi/dahdi-base.c @@ -4631,7 +4631,6 @@ static int dahdi_ioctl_chanconfig(struct file *file, unsigned long data) #if LINUX_VERSION_CODE <= KERNEL_VERSION(2, 6, 23) SET_MODULE_OWNER(chan->hdlcnetdev->netdev); #endif - chan->hdlcnetdev->netdev->irq = chan->span->irq; chan->hdlcnetdev->netdev->tx_queue_len = 50; #ifdef HAVE_NET_DEVICE_OPS chan->hdlcnetdev->netdev->netdev_ops = &dahdi_netdev_ops; |