summaryrefslogtreecommitdiff
path: root/wctdm24xxp/wctdm24xxp.h
diff options
context:
space:
mode:
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;