[svn-commits] sruffell: linux/trunk r7984 - /linux/trunk/drivers/dahdi/wctdm24xxp/base.c
SVN commits to the Digium repositories
svn-commits at lists.digium.com
Wed Feb 3 15:43:02 CST 2010
Author: sruffell
Date: Wed Feb 3 15:42:59 2010
New Revision: 7984
URL: http://svnview.digium.com/svn/dahdi?view=rev&rev=7984
Log:
wctdm24xxp: inadvertently removed 'static' from FXO_ADDRS
Modified:
linux/trunk/drivers/dahdi/wctdm24xxp/base.c
Modified: linux/trunk/drivers/dahdi/wctdm24xxp/base.c
URL: http://svnview.digium.com/svn/dahdi/linux/trunk/drivers/dahdi/wctdm24xxp/base.c?view=diff&rev=7984&r1=7983&r2=7984
==============================================================================
--- linux/trunk/drivers/dahdi/wctdm24xxp/base.c (original)
+++ linux/trunk/drivers/dahdi/wctdm24xxp/base.c Wed Feb 3 15:42:59 2010
@@ -636,7 +636,7 @@
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];
More information about the svn-commits
mailing list