From a39a7eb229d831921d42201b2cb548b81bb91c63 Mon Sep 17 00:00:00 2001 From: Shaun Ruffell Date: Mon, 29 Jun 2009 22:44:54 +0000 Subject: 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 --- drivers/dahdi/wcte11xp.c | 1 + 1 file changed, 1 insertion(+) 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"; -- cgit v1.2.3