summaryrefslogtreecommitdiff
path: root/include/dahdi/kernel.h
diff options
context:
space:
mode:
authorShaun Ruffell <sruffell@digium.com>2011-04-04 16:24:45 +0000
committerShaun Ruffell <sruffell@digium.com>2011-04-04 16:24:45 +0000
commit667c05fde64673e748e9171401afc866b45cd1a9 (patch)
tree4904b432b3ebe4f392b38e8144a11d584250a0d6 /include/dahdi/kernel.h
parent049347e3f6f1c7f617a6b3f40b7bb6f1fc139ed1 (diff)
dahdi: Use enumeration for maintenance modes.
Clarifies that maintstates are mutually exclusive. Signed-off-by: Shaun Ruffell <sruffell@digium.com> Acked-by: Michael Spiceland <mspiceland@digium.com> Acked-by: Kinsey Moore <kmoore@digium.com> git-svn-id: http://svn.asterisk.org/svn/dahdi/linux/trunk@9879 a0bf4364-ded3-4de4-8d8a-66a801d63aff
Diffstat (limited to 'include/dahdi/kernel.h')
-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 0a5eb83..bd39192 100644
--- a/include/dahdi/kernel.h
+++ b/include/dahdi/kernel.h
@@ -884,7 +884,7 @@ struct dahdi_span {
int syncsrc; /*!< current sync src (gets copied here) */
struct dahdi_count count; /*!< Performance and Error counters */
- int maintstat; /*!< Maintenance state */
+ enum dahdi_maint_mode maintstat; /*!< Maintenance state */
int mainttimer; /*!< Maintenance timer */
int irqmisses; /*!< Interrupt misses */