diff options
author | Shaun Ruffell <sruffell@digium.com> | 2010-08-04 00:18:49 +0000 |
---|---|---|
committer | Shaun Ruffell <sruffell@digium.com> | 2010-08-04 00:18:49 +0000 |
commit | 78fdae3b7d38341d69e71b3c1390fc1a913815a2 (patch) | |
tree | 6aa78601d0d33b995300deb6ae8fd1654a4d176a /drivers/dahdi/wctdm24xxp/xhfc.h | |
parent | 0de45c565458d8849a455c11fcc023620e0c52d3 (diff) |
wctdm24xxp: 'struct dahdi_span' is already embedded in the 'struct wctdm_span'.
We cannot also embed it in struct b400m_span structure and expect container_of
to work. This fixes a regression introduced in r8984.
git-svn-id: http://svn.asterisk.org/svn/dahdi/linux/trunk@9087 a0bf4364-ded3-4de4-8d8a-66a801d63aff
Diffstat (limited to 'drivers/dahdi/wctdm24xxp/xhfc.h')
-rw-r--r-- | drivers/dahdi/wctdm24xxp/xhfc.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/dahdi/wctdm24xxp/xhfc.h b/drivers/dahdi/wctdm24xxp/xhfc.h index 685809b..e058af6 100644 --- a/drivers/dahdi/wctdm24xxp/xhfc.h +++ b/drivers/dahdi/wctdm24xxp/xhfc.h @@ -42,6 +42,8 @@ int b400m_spanconfig(struct dahdi_span *span, struct dahdi_lineconfig *lc); int b400m_dchan(struct dahdi_span *span); int b400m_chanconfig(struct dahdi_chan *chan, int sigtype); void b400m_post_init(struct b400m *b4); +void b400m_set_dahdi_span(struct b400m *b4, int spanno, + struct wctdm_span *wspan); void b400m_module_init(void); void b400m_module_cleanup(void); |