summaryrefslogtreecommitdiff
path: root/include/dahdi
diff options
context:
space:
mode:
authorShaun Ruffell <sruffell@digium.com>2010-08-19 18:03:25 +0000
committerShaun Ruffell <sruffell@digium.com>2010-08-19 18:03:25 +0000
commit0cd602b5e0dd4564a8695c303d119476a8f9f3a7 (patch)
tree01a5417f6685dfd15c7d130e49fa436b88dd5402 /include/dahdi
parenta8f174d31afd97edecadae2249e11ba376ce9b4e (diff)
dahdi: move 'dahdi_is_digital_span' back into wctdm24xp driver.
Older kernels do not like the 'bool' type and I cannot just add it into include/dahdi/kernel.h without compile messages in the xpp driver where bool is defined directly. Since the wctdm24xxp driver is the only place using that function, I just moved it back there for now. This fixes a regression introduced in 9130. git-svn-id: http://svn.asterisk.org/svn/dahdi/linux/trunk@9167 a0bf4364-ded3-4de4-8d8a-66a801d63aff
Diffstat (limited to 'include/dahdi')
-rw-r--r--include/dahdi/kernel.h5
1 files changed, 0 insertions, 5 deletions
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;