summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorShaun Ruffell <sruffell@digium.com>2010-11-25 00:07:10 +0000
committerShaun Ruffell <sruffell@digium.com>2010-11-25 00:07:10 +0000
commita00124d56f8764ea6ccc6469bc512a0cb85a5229 (patch)
tree0e0ab393e2b9fac44990c8f5d20eb43b876f0f10 /include
parent9f6c26d5352c957e5cb014f10e6cb31c26ac7641 (diff)
dahdi: A little cleanup in the dahdi_ioctl_iomux function.
The primary change is to make clear that the wait result is not ever to be returned by the function. There are also edits to remove some comments that were expressed clearly in the source already and ensure that the iomux member of 'struct dahdi_chan' is only accessed under the chan->lock. Signed-off-by: Shaun Ruffell <sruffell@digium.com> Signed-off-by: Sean Bright <sean.bright@gmail.com> git-svn-id: http://svn.asterisk.org/svn/dahdi/linux/trunk@9497 a0bf4364-ded3-4de4-8d8a-66a801d63aff
Diffstat (limited to 'include')
-rw-r--r--include/dahdi/kernel.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/dahdi/kernel.h b/include/dahdi/kernel.h
index d7b5ba1..f904da9 100644
--- a/include/dahdi/kernel.h
+++ b/include/dahdi/kernel.h
@@ -509,7 +509,7 @@ struct dahdi_chan {
int cadencepos; /*!< Where in the cadence we are */
/* I/O Mask */
- int iomask; /*! I/O Mux signal mask */
+ unsigned int iomask; /*! I/O Mux signal mask */
wait_queue_head_t sel; /*! thingy for select stuff */
/* HDLC state machines */