From 9f509efa770691a65f3934e37e24a07af1b2a4df Mon Sep 17 00:00:00 2001 From: Shaun Ruffell Date: Tue, 3 Apr 2012 21:54:34 +0000 Subject: 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 git-svn-id: http://svn.asterisk.org/svn/dahdi/linux/trunk@10634 a0bf4364-ded3-4de4-8d8a-66a801d63aff --- drivers/dahdi/dahdi-base.c | 1 - 1 file changed, 1 deletion(-) 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; -- cgit v1.2.3