diff options
author | Shaun Ruffell <sruffell@digium.com> | 2011-06-02 20:04:02 +0000 |
---|---|---|
committer | Shaun Ruffell <sruffell@digium.com> | 2011-06-02 20:04:02 +0000 |
commit | 13b7e906e7e7890d44a2056b10c332081e2dab78 (patch) | |
tree | ccc4b186fb0a662bd495dee3416cc339b17f669e /drivers/dahdi/wctdm24xxp/base.c | |
parent | 97fda1fbba8eaa7dfb5cadeb97a25e9f1a95d557 (diff) |
wctdm24xxp: Do not export board number in the device description.
The board number dupliates the information that is available in the
location field. Exporting it as part of the description makes the name
dependent on the driver bind order which is not desirable.
Signed-off-by: Shaun Ruffell <sruffell@digium.com>
git-svn-id: http://svn.asterisk.org/svn/dahdi/linux/trunk@9971 a0bf4364-ded3-4de4-8d8a-66a801d63aff
Diffstat (limited to 'drivers/dahdi/wctdm24xxp/base.c')
-rw-r--r-- | drivers/dahdi/wctdm24xxp/base.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/dahdi/wctdm24xxp/base.c b/drivers/dahdi/wctdm24xxp/base.c index 9f80549..caee746 100644 --- a/drivers/dahdi/wctdm24xxp/base.c +++ b/drivers/dahdi/wctdm24xxp/base.c @@ -4056,8 +4056,7 @@ wctdm_init_span(struct wctdm *wc, int spanno, int chanoffset, int chancount, else sprintf(s->span.name, "WCTDM/%d", card_position); - snprintf(s->span.desc, sizeof(s->span.desc) - 1, "%s Board %d", - wc->desc->name, card_position + 1); + snprintf(s->span.desc, sizeof(s->span.desc) - 1, "%s", wc->desc->name); snprintf(s->span.location, sizeof(s->span.location) - 1, "PCI%s Bus %02d Slot %02d", (wc->desc->flags & FLAG_EXPRESS) ? " Express" : "", |