summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorShaun Ruffell <sruffell@digium.com>2010-02-03 21:42:59 +0000
committerShaun Ruffell <sruffell@digium.com>2010-02-03 21:42:59 +0000
commitc2a796f171bf116ad7b1833f3850d058a0efadc6 (patch)
treef6ef7c1ba2127076bd37a64bcb3578164f970625
parentc9bcc7d735432abe624785c286dec0ae6e92e31b (diff)
wctdm24xxp: inadvertently removed 'static' from FXO_ADDRS
git-svn-id: http://svn.asterisk.org/svn/dahdi/linux/trunk@7984 a0bf4364-ded3-4de4-8d8a-66a801d63aff
-rw-r--r--drivers/dahdi/wctdm24xxp/base.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/dahdi/wctdm24xxp/base.c b/drivers/dahdi/wctdm24xxp/base.c
index 512cdd5..8377422 100644
--- a/drivers/dahdi/wctdm24xxp/base.c
+++ b/drivers/dahdi/wctdm24xxp/base.c
@@ -636,7 +636,7 @@ static inline void cmd_dequeue(struct wctdm *wc, unsigned char *writechunk, int
writechunk[CMD_BYTE(card, 1, wc->altcs[card])] = 0x80 | ((curcmd >> 8) & 0x7f);
writechunk[CMD_BYTE(card, 2, wc->altcs[card])] = curcmd & 0xff;
} else if (wc->modtype[card] == MOD_TYPE_FXO) {
- const int FXO_ADDRS[4] = { 0x00, 0x08, 0x04, 0x0c };
+ static const int FXO_ADDRS[4] = { 0x00, 0x08, 0x04, 0x0c };
int idx = CMD_BYTE(card, 0, wc->altcs[card]);
if (curcmd & __CMD_WR)
writechunk[idx] = 0x20 | FXO_ADDRS[subaddr];