diff options
author | Shaun Ruffell <sruffell@digium.com> | 2010-07-26 00:30:43 +0000 |
---|---|---|
committer | Shaun Ruffell <sruffell@digium.com> | 2010-07-26 00:30:43 +0000 |
commit | f6e9fe2adc27915f890cfded1dc86b4bbf681bbd (patch) | |
tree | 60e0b36a1f89a6339bd3a357420c1f1152224a2a /drivers/dahdi/wctdm24xxp/base.c | |
parent | 9e8885a50b7923c9a9b7456bbf2ecc61923c8734 (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/wctdm24xxp/base.c')
-rw-r--r-- | drivers/dahdi/wctdm24xxp/base.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/dahdi/wctdm24xxp/base.c b/drivers/dahdi/wctdm24xxp/base.c index 1390176..eea2121 100644 --- a/drivers/dahdi/wctdm24xxp/base.c +++ b/drivers/dahdi/wctdm24xxp/base.c @@ -3559,6 +3559,7 @@ static int wctdm_dacs(struct dahdi_chan *dst, struct dahdi_chan *src) } static const struct dahdi_span_ops wctdm24xxp_analog_span_ops = { + .owner = THIS_MODULE, .hooksig = wctdm_hooksig, .open = wctdm_open, .close = wctdm_close, @@ -3571,6 +3572,7 @@ static const struct dahdi_span_ops wctdm24xxp_analog_span_ops = { }; static const struct dahdi_span_ops wctdm24xxp_digital_span_ops = { + .owner = THIS_MODULE, .open = wctdm_open, .close = wctdm_close, .ioctl = wctdm_ioctl, @@ -3641,7 +3643,6 @@ static struct wctdm_span *wctdm_init_span(struct wctdm *wc, int spanno, int chan return NULL; /* DAHDI stuff */ - s->span.owner = THIS_MODULE; s->span.offset = spanno; s->spanno = spancount++; |