summaryrefslogtreecommitdiff
path: root/drivers/dahdi/dahdi-base.c
diff options
context:
space:
mode:
authorShaun Ruffell <sruffell@digium.com>2009-09-07 21:40:25 +0000
committerShaun Ruffell <sruffell@digium.com>2009-09-07 21:40:25 +0000
commit5ea2ec6c448dd2c2dbb9eaee476840a4d8dd90df (patch)
tree43dd6004e65c4df90c0a1307c7c2f666dd685039 /drivers/dahdi/dahdi-base.c
parentde8dd71cbb0cbaff9edad8a005bc60b47843da52 (diff)
dahdi-base: Prevent compilation if both EMPULSE and EMFLASH are defined.
git-svn-id: http://svn.asterisk.org/svn/dahdi/linux/trunk@7096 a0bf4364-ded3-4de4-8d8a-66a801d63aff
Diffstat (limited to 'drivers/dahdi/dahdi-base.c')
-rw-r--r--drivers/dahdi/dahdi-base.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/drivers/dahdi/dahdi-base.c b/drivers/dahdi/dahdi-base.c
index 8a8c470..d68920a 100644
--- a/drivers/dahdi/dahdi-base.c
+++ b/drivers/dahdi/dahdi-base.c
@@ -77,6 +77,10 @@
#include "hpec/hpec_user.h"
+#if defined(EMPULSE) && defined(EMFLASH)
+#error "You cannot define both EMPULSE and EMFLASH"
+#endif
+
/* Get helper arithmetic */
#include "arith.h"
#if defined(CONFIG_DAHDI_MMX) || defined(ECHO_CAN_FP)