[dahdi-commits] sruffell: linux/trunk r9040 - /linux/trunk/drivers/dahdi/wcte12xp/base.c
SVN commits to the DAHDI project
dahdi-commits at lists.digium.com
Wed Jul 28 10:32:15 CDT 2010
Author: sruffell
Date: Wed Jul 28 10:32:05 2010
New Revision: 9040
URL: http://svnview.digium.com/svn/dahdi?view=rev&rev=9040
Log:
wcte12xp: Trival formatting changes.
Fixing up some of the formatting errors that crept in since the 2.3.0 release.
Modified:
linux/trunk/drivers/dahdi/wcte12xp/base.c
Modified: linux/trunk/drivers/dahdi/wcte12xp/base.c
URL: http://svnview.digium.com/svn/dahdi/linux/trunk/drivers/dahdi/wcte12xp/base.c?view=diff&rev=9040&r1=9039&r2=9040
==============================================================================
--- linux/trunk/drivers/dahdi/wcte12xp/base.c (original)
+++ linux/trunk/drivers/dahdi/wcte12xp/base.c Wed Jul 28 10:32:05 2010
@@ -658,7 +658,7 @@
static void __t1xxp_set_clear(struct t1 *wc)
{
- int i,offset;
+ int i, offset;
int ret;
unsigned short reg[3] = {0, 0, 0};
@@ -1313,13 +1313,13 @@
struct t4_regs regs;
unsigned int x;
struct t1 *wc;
-
+
switch (cmd) {
case WCT4_GET_REGS:
wc = chan->pvt;
for (x = 0; x < sizeof(regs.regs) / sizeof(regs.regs[0]); x++)
regs.regs[x] = t1_getreg(wc, x);
-
+
if (copy_to_user((struct t4_regs *) data, ®s, sizeof(regs)))
return -EFAULT;
break;
More information about the dahdi-commits
mailing list