summaryrefslogtreecommitdiff
path: root/drivers/dahdi/wcfxo.c
diff options
context:
space:
mode:
authorShaun Ruffell <sruffell@digium.com>2011-03-03 12:42:31 -0600
committerShaun Ruffell <sruffell@digium.com>2011-04-15 14:21:14 -0500
commitf900e1f229bbd4e04229052b18a1dc6cacbb0e52 (patch)
tree88000a1a498af9c4b15324a7275f50a46bf2e667 /drivers/dahdi/wcfxo.c
parent3080253725eb7a1ba1cec08735c1476a3fd3c1c7 (diff)
dahdi: Move irq/irqmisses from dahdi_span into dahdi_device.
These fields do not have anything to do with the span. Signed-off-by: Shaun Ruffell <sruffell@digium.com>
Diffstat (limited to 'drivers/dahdi/wcfxo.c')
-rw-r--r--drivers/dahdi/wcfxo.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/dahdi/wcfxo.c b/drivers/dahdi/wcfxo.c
index 948d299..fcfea9d 100644
--- a/drivers/dahdi/wcfxo.c
+++ b/drivers/dahdi/wcfxo.c
@@ -662,11 +662,11 @@ static int wcfxo_initialize(struct wcfxo *wc)
wc->ddev->manufacturer = "Digium";
wc->ddev->devicetype = wc->variety;
+ wc->ddev->irq = wc->dev->irq;
wc->chan->sigcap = DAHDI_SIG_FXSKS | DAHDI_SIG_FXSLS | DAHDI_SIG_SF;
wc->chan->chanpos = 1;
wc->span.chans = &wc->chan;
wc->span.channels = 1;
- wc->span.irq = wc->dev->irq;
wc->span.flags = DAHDI_FLAG_RBS;
wc->span.deflaw = DAHDI_LAW_MULAW;
#ifdef ENABLE_TASKLETS