diff options
Diffstat (limited to 'drivers/dahdi/wctdm24xxp/base.c')
-rw-r--r-- | drivers/dahdi/wctdm24xxp/base.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/drivers/dahdi/wctdm24xxp/base.c b/drivers/dahdi/wctdm24xxp/base.c index eefba37..59c667f 100644 --- a/drivers/dahdi/wctdm24xxp/base.c +++ b/drivers/dahdi/wctdm24xxp/base.c @@ -3724,6 +3724,11 @@ static const struct dahdi_span_ops wctdm24xxp_digital_span_ops = { #endif }; +static inline bool dahdi_is_digital_span(const struct dahdi_span *s) +{ + return (s->linecompat > 0); +} + static struct wctdm_chan *wctdm_init_chan(struct wctdm *wc, struct wctdm_span *s, int chanoffset, int channo) { struct wctdm_chan *c; |