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:
parent
a9c85de700
commit
35e9924b3c
@ -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) {
|
||||||
|
@ -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);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user