From 92bdc098861b2c8e817bb778afe6de171dc14d8b Mon Sep 17 00:00:00 2001 From: Shaun Ruffell Date: Thu, 2 Jun 2011 20:00:29 +0000 Subject: wctdm24xxp: Check if the FXS signaling setting is valid. Signed-off-by: Shaun Ruffell git-svn-id: http://svn.asterisk.org/svn/dahdi/linux/trunk@9928 a0bf4364-ded3-4de4-8d8a-66a801d63aff --- include/dahdi/kernel.h | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'include') 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 -- cgit v1.2.3