diff options
author | Shaun Ruffell <sruffell@digium.com> | 2011-06-02 20:00:29 +0000 |
---|---|---|
committer | Shaun Ruffell <sruffell@digium.com> | 2011-06-02 20:00:29 +0000 |
commit | 92bdc098861b2c8e817bb778afe6de171dc14d8b (patch) | |
tree | 8a0e2c8a2a7ac5e3a7e10c4436c5f06f37913d04 /include | |
parent | 9458bcf8b31c2f7962a048ed16a7ba17c681e72c (diff) |
wctdm24xxp: Check if the FXS signaling setting is valid.
Signed-off-by: Shaun Ruffell <sruffell@digium.com>
git-svn-id: http://svn.asterisk.org/svn/dahdi/linux/trunk@9928 a0bf4364-ded3-4de4-8d8a-66a801d63aff
Diffstat (limited to 'include')
-rw-r--r-- | include/dahdi/kernel.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/include/dahdi/kernel.h b/include/dahdi/kernel.h index d3beabe..69f883e 100644 --- a/include/dahdi/kernel.h +++ b/include/dahdi/kernel.h @@ -1395,6 +1395,12 @@ typedef u32 __bitwise pm_message_t; #define DMA_BIT_MASK(n) (((n) == 64) ? ~0ULL : ((1ULL<<(n))-1)) #endif +/* WARN_ONCE first showed up in the kernel in 2.6.27 but it may have been + * backported. */ +#ifndef WARN_ONCE +#define WARN_ONCE(condition, format...) WARN_ON_ONCE(condition) +#endif + #define DAHDI_CTL 0 #define DAHDI_TRANSCODE 250 #define DAHDI_TIMER 253 |