summaryrefslogtreecommitdiff
path: root/drivers/dahdi/wct4xxp
diff options
context:
space:
mode:
authorShaun Ruffell <sruffell@digium.com>2010-07-26 00:30:43 +0000
committerShaun Ruffell <sruffell@digium.com>2010-07-26 00:30:43 +0000
commitf6e9fe2adc27915f890cfded1dc86b4bbf681bbd (patch)
tree60e0b36a1f89a6339bd3a357420c1f1152224a2a /drivers/dahdi/wct4xxp
parent9e8885a50b7923c9a9b7456bbf2ecc61923c8734 (diff)
dahdi: Move the 'owner' field from dahdi_span to dahdi_span_ops.
One more thing that can be moved out of the per-span structure. git-svn-id: http://svn.asterisk.org/svn/dahdi/linux/trunk@8986 a0bf4364-ded3-4de4-8d8a-66a801d63aff
Diffstat (limited to 'drivers/dahdi/wct4xxp')
-rw-r--r--drivers/dahdi/wct4xxp/base.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/dahdi/wct4xxp/base.c b/drivers/dahdi/wct4xxp/base.c
index a0564a9..77ef562 100644
--- a/drivers/dahdi/wct4xxp/base.c
+++ b/drivers/dahdi/wct4xxp/base.c
@@ -1847,6 +1847,7 @@ void setup_chunks(struct t4 *wc, int which)
}
static const struct dahdi_span_ops t4_gen1_span_ops = {
+ .owner = THIS_MODULE,
.spanconfig = t4_spanconfig,
.chanconfig = t4_chanconfig,
.startup = t4_startup,
@@ -1860,6 +1861,7 @@ static const struct dahdi_span_ops t4_gen1_span_ops = {
};
static const struct dahdi_span_ops t4_gen2_span_ops = {
+ .owner = THIS_MODULE,
.spanconfig = t4_spanconfig,
.chanconfig = t4_chanconfig,
.startup = t4_startup,
@@ -1907,7 +1909,6 @@ static void init_spans(struct t4 *wc)
ts->span.spantype = "J1";
break;
}
- ts->span.owner = THIS_MODULE;
ts->span.irq = wc->dev->irq;
/* HDLC Specific init */