[svn-commits] sruffell: linux/trunk r7985 - /linux/trunk/drivers/dahdi/wctdm24xxp/base.c

SVN commits to the Digium repositories svn-commits at lists.digium.com
Wed Feb 3 15:46:37 CST 2010


Author: sruffell
Date: Wed Feb  3 15:46:34 2010
New Revision: 7985

URL: http://svnview.digium.com/svn/dahdi?view=rev&rev=7985
Log:
wctdm24xxp: Add back in 'static' for ACIM2TISS as well.

Acidentally removed...

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=7985&r1=7984&r2=7985
==============================================================================
--- linux/trunk/drivers/dahdi/wctdm24xxp/base.c (original)
+++ linux/trunk/drivers/dahdi/wctdm24xxp/base.c Wed Feb  3 15:46:34 2010
@@ -2478,9 +2478,9 @@
     wctdm_setreg(wc, card, 22, 0xff);
     wctdm_setreg(wc, card, 73, 0x04);
 	if (fxshonormode) {
-		const int ACIM2TISS[16] = { 0x0, 0x1, 0x4, 0x5, 0x7, 0x0,
-					    0x0, 0x6, 0x0, 0x0, 0x0, 0x2,
-					    0x0, 0x3 };
+		static const int ACIM2TISS[16] = { 0x0, 0x1, 0x4, 0x5, 0x7,
+						   0x0, 0x0, 0x6, 0x0, 0x0,
+						   0x0, 0x2, 0x0, 0x3 };
 		fxsmode = ACIM2TISS[fxo_modes[_opermode].acim];
 		wctdm_setreg(wc, card, 10, 0x08 | fxsmode);
 		if (fxo_modes[_opermode].ring_osc)




More information about the svn-commits mailing list