diff options
author | Shaun Ruffell <sruffell@digium.com> | 2010-01-08 20:48:02 +0000 |
---|---|---|
committer | Shaun Ruffell <sruffell@digium.com> | 2010-01-08 20:48:02 +0000 |
commit | 4d3c52e9fa00c3f18744a08a15df24907129effb (patch) | |
tree | d11dd39820dea77726af5f860967e904c8cf7b5d /drivers/dahdi/wctdm24xxp/wctdm24xxp.h | |
parent | 6fb9c465e19b1eba4aa300de3f1e4902c2fb82b6 (diff) |
voicebus: Make 'struct voicebus' embeddable by the client driver strutures.
In addition to making 'struct voicebus' embeddable, also add an
'voicebus_operations' structure. This was done so that a) remove the "context"
pointer from struct voicebus, and also to show that handle_recieve/transmit are
to be managed together.
git-svn-id: http://svn.asterisk.org/svn/dahdi/linux/trunk@7778 a0bf4364-ded3-4de4-8d8a-66a801d63aff
Diffstat (limited to 'drivers/dahdi/wctdm24xxp/wctdm24xxp.h')
-rw-r--r-- | drivers/dahdi/wctdm24xxp/wctdm24xxp.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/dahdi/wctdm24xxp/wctdm24xxp.h b/drivers/dahdi/wctdm24xxp/wctdm24xxp.h index ca3074f..f8eb2ce 100644 --- a/drivers/dahdi/wctdm24xxp/wctdm24xxp.h +++ b/drivers/dahdi/wctdm24xxp/wctdm24xxp.h @@ -227,7 +227,7 @@ struct wctdm { int echocanpos; int blinktimer; #endif - struct voicebus *vb; + struct voicebus vb; struct dahdi_chan *chans[NUM_CARDS]; struct dahdi_echocan_state *ec[NUM_CARDS]; int initialized; |