diff options
author | Shaun Ruffell <sruffell@digium.com> | 2010-08-13 18:36:14 +0000 |
---|---|---|
committer | Shaun Ruffell <sruffell@digium.com> | 2010-08-13 18:36:14 +0000 |
commit | 8ac6d864dda3e3fbac3effdbebc6ca151c483285 (patch) | |
tree | be557514183367a97c565db4662c4baa6ae99b2d | |
parent | e8413f9f3646c5b6708e1e5107cc5c8e41362626 (diff) |
wctdm24xxp: 'is_span_digital' -> 'dahdi_is_span_digital'
Signed-off-by: Shaun Ruffell <sruffell@digium.com>
git-svn-id: http://svn.asterisk.org/svn/dahdi/linux/trunk@9131 a0bf4364-ded3-4de4-8d8a-66a801d63aff
-rw-r--r-- | drivers/dahdi/wctdm24xxp/base.c | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/drivers/dahdi/wctdm24xxp/base.c b/drivers/dahdi/wctdm24xxp/base.c index 2d3a746..0b4b803 100644 --- a/drivers/dahdi/wctdm24xxp/base.c +++ b/drivers/dahdi/wctdm24xxp/base.c @@ -206,11 +206,6 @@ static inline bool is_hx8(const struct wctdm *wc) return (&wcha80000 == wc->desc) || (&wchb80000 == wc->desc); } -static inline bool is_digital_span(const struct wctdm_span *wspan) -{ - return (wspan->span.linecompat > 0); -} - struct wctdm *ifaces[WC_MAX_IFACES]; DECLARE_MUTEX(ifacelock); @@ -3754,7 +3749,7 @@ static struct wctdm_chan *wctdm_init_chan(struct wctdm *wc, struct wctdm_span *s return NULL; /* Do not change the procfs representation for non-hx8 cards. */ - if (is_digital_span(s)) { + if (dahdi_is_digital_span(&s->span)) { sprintf(c->chan.name, "WCBRI/%d/%d/%d", wc->pos, s->spanno, channo); } else { |