summaryrefslogtreecommitdiff
path: root/wctdm24xxp/wctdm24xxp.h
diff options
context:
space:
mode:
authormattf <mattf@5390a7c7-147a-4af0-8ec9-7488f05a26cb>2007-08-21 18:43:06 +0000
committermattf <mattf@5390a7c7-147a-4af0-8ec9-7488f05a26cb>2007-08-21 18:43:06 +0000
commitd0eb84715f6af1485af1a07bafe24b5158b9dd68 (patch)
tree3f11ea2771aed19fab7560e57eb7a571c7656819 /wctdm24xxp/wctdm24xxp.h
parent737716d493b79c94f418b42ad2cfb78ff55595ef (diff)
Merged revisions 2924 via svnmerge from
https://origsvn.digium.com/svn/zaptel/branches/1.4 ................ r2924 | mattf | 2007-08-21 13:42:19 -0500 (Tue, 21 Aug 2007) | 9 lines Merged revisions 2923 via svnmerge from https://origsvn.digium.com/svn/zaptel/branches/1.2 ........ r2923 | mattf | 2007-08-21 13:40:23 -0500 (Tue, 21 Aug 2007) | 1 line Allow wctdm24xxp to compile on a 2.4 based kernel ........ ................ git-svn-id: http://svn.digium.com/svn/zaptel/trunk@2925 5390a7c7-147a-4af0-8ec9-7488f05a26cb
Diffstat (limited to 'wctdm24xxp/wctdm24xxp.h')
-rw-r--r--wctdm24xxp/wctdm24xxp.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/wctdm24xxp/wctdm24xxp.h b/wctdm24xxp/wctdm24xxp.h
index 1b32103..b7067ca 100644
--- a/wctdm24xxp/wctdm24xxp.h
+++ b/wctdm24xxp/wctdm24xxp.h
@@ -89,6 +89,10 @@
#define VPM_SUPPORT
+#if LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,0)
+#define VPM150M_SUPPORT
+#endif
+
#ifdef VPM_SUPPORT
/* Define to get more attention-grabbing but slightly more CPU using echocan status */
@@ -105,8 +109,10 @@ struct vpm150m_cmd {
};
struct vpm150m {
+#ifdef VPM150M_SUPPORT
struct workqueue_struct *wq;
struct work_struct work;
+#endif
struct wctdm *wc;
int dspid;