diff options
author | Shaun Ruffell <sruffell@digium.com> | 2009-08-04 16:22:26 +0000 |
---|---|---|
committer | Shaun Ruffell <sruffell@digium.com> | 2009-08-04 16:22:26 +0000 |
commit | 474fa94184aa99ec6f220200a7737300be92e606 (patch) | |
tree | 3bade45882a16e0aad7822e30fea0b89f2889373 /drivers/dahdi/wctdm24xxp/wctdm24xxp.h | |
parent | e7c962df9f26af9657a541063570c2c62f62c5de (diff) |
wctdm24xxp: Eliminate 'variety' and 'type' members from 'struct wctdm'.
struct wctdm can hold a pointer to struct wctdm_desc directly, and eliminate
the need to copy members of wctdm_desc into wctdm.
git-svn-id: http://svn.asterisk.org/svn/dahdi/linux/trunk@6929 a0bf4364-ded3-4de4-8d8a-66a801d63aff
Diffstat (limited to 'drivers/dahdi/wctdm24xxp/wctdm24xxp.h')
-rw-r--r-- | drivers/dahdi/wctdm24xxp/wctdm24xxp.h | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/drivers/dahdi/wctdm24xxp/wctdm24xxp.h b/drivers/dahdi/wctdm24xxp/wctdm24xxp.h index fb1ada3..5c4e817 100644 --- a/drivers/dahdi/wctdm24xxp/wctdm24xxp.h +++ b/drivers/dahdi/wctdm24xxp/wctdm24xxp.h @@ -141,7 +141,7 @@ enum battery_state { }; struct wctdm { - char *variety; + const struct wctdm_desc *desc; char board_name[80]; struct dahdi_span span; unsigned int intcount; @@ -211,8 +211,6 @@ struct wctdm { /* Set hook */ int sethook[NUM_CARDS + NUM_EC]; int dacssrc[NUM_CARDS]; - /* Type is the maximum number of FXO/FXS ports supported */ - int type; int vpm100; |