diff options
author | Shaun Ruffell <sruffell@digium.com> | 2009-06-29 22:44:54 +0000 |
---|---|---|
committer | Shaun Ruffell <sruffell@digium.com> | 2009-06-29 22:44:54 +0000 |
commit | a2cdc81e7be2dc6a77daad77342f60d53cb8e8e6 (patch) | |
tree | e7fd7223719a761784bc0836d69c44eada9efae1 /drivers/dahdi/wcte11xp.c | |
parent | 6b34a37751245e4415323fbc3df4b11fd386d8b3 (diff) |
wcte11xp: Set the owner field of the dahdi_span before registration.
(related to issue #10601)
git-svn-id: http://svn.asterisk.org/svn/dahdi/linux/trunk@6797 a0bf4364-ded3-4de4-8d8a-66a801d63aff
Diffstat (limited to 'drivers/dahdi/wcte11xp.c')
-rw-r--r-- | drivers/dahdi/wcte11xp.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/dahdi/wcte11xp.c b/drivers/dahdi/wcte11xp.c index dec6d65..aaa3d29 100644 --- a/drivers/dahdi/wcte11xp.c +++ b/drivers/dahdi/wcte11xp.c @@ -964,6 +964,7 @@ static int t1xxp_software_init(struct t1 *wc) return -1; t4_serial_setup(wc); wc->num = x; + wc->span.owner = THIS_MODULE; sprintf(wc->span.name, "WCT1/%d", wc->num); snprintf(wc->span.desc, sizeof(wc->span.desc) - 1, "%s Card %d", wc->variety, wc->num); wc->span.manufacturer = "Digium"; |