summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--drivers/dahdi/wctdm24xxp/base.c5
-rw-r--r--include/dahdi/kernel.h5
2 files changed, 5 insertions, 5 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;
diff --git a/include/dahdi/kernel.h b/include/dahdi/kernel.h
index 82adb91..83d3732 100644
--- a/include/dahdi/kernel.h
+++ b/include/dahdi/kernel.h
@@ -873,11 +873,6 @@ struct dahdi_span {
#endif
};
-static inline bool dahdi_is_digital_span(const struct dahdi_span *s)
-{
- return (s->linecompat > 0);
-}
-
struct dahdi_transcoder_channel {
void *pvt;
struct dahdi_transcoder *parent;