summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--kernel/wctc4xxp/base.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/kernel/wctc4xxp/base.c b/kernel/wctc4xxp/base.c
index 7092b61..930dbd3 100644
--- a/kernel/wctc4xxp/base.c
+++ b/kernel/wctc4xxp/base.c
@@ -1497,7 +1497,7 @@ do_channel_allocate(struct zt_transcoder_channel *dtc)
/* Check again to see if the channel was built after grabbing the
* channel semaphore, in case the previous holder of the semaphore
* built this channel as a complement to itself. */
- if (dahdi_tc_is_built(dtc)) {
+ if (zt_tc_is_built(dtc)) {
up(&wc->chansem);
DTE_DEBUG(DTE_DEBUG_CHANNEL_SETUP,
"Allocating channel %p which is already built.\n", dtc);