Rename "pinned spans" to "assigned spans"

Rename as terminology has changed. No change in kernel interface.

Signed-off-by: Tzafrir Cohen <tzafrir.cohen@xorcom.com>
Acked-by: Russ Meyerriecks <rmeyerriecks@digium.com>
This commit is contained in:
Oron Peled 2013-11-18 18:36:23 +02:00 committed by Tzafrir Cohen
parent a9c85de700
commit 35e9924b3c
2 changed files with 2 additions and 2 deletions

View File

@ -604,7 +604,7 @@ static DEVICE_ATTR_WRITER(span_store, dev, buf, count)
return -EINVAL; return -EINVAL;
if (!XBUS_IS(xpd->xbus, READY)) if (!XBUS_IS(xpd->xbus, READY))
return -ENODEV; return -ENODEV;
XPD_DBG(DEVICES, xpd, "%s -- deprecated (should use pinned-spans)\n", XPD_DBG(DEVICES, xpd, "%s -- deprecated (should use assigned-spans)\n",
(dahdi_reg) ? "register" : "unregister"); (dahdi_reg) ? "register" : "unregister");
ret = mutex_lock_interruptible(&span_store_mutex); ret = mutex_lock_interruptible(&span_store_mutex);
if (ret < 0) { if (ret < 0) {

View File

@ -909,7 +909,7 @@ struct dahdi_span_ops {
/*! Opt: Provide the name of the echo canceller on a channel */ /*! Opt: Provide the name of the echo canceller on a channel */
const char *(*echocan_name)(const struct dahdi_chan *chan); const char *(*echocan_name)(const struct dahdi_chan *chan);
/*! When using "pinned_spans", this function is called back when this /*! When using "assigned spans", this function is called back when this
* span has been assigned with the system. */ * span has been assigned with the system. */
void (*assigned)(struct dahdi_span *span); void (*assigned)(struct dahdi_span *span);