summaryrefslogtreecommitdiffstats
path: root/drivers/isdn/pcbit/pcbit.h
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/isdn/pcbit/pcbit.h')
-rw-r--r--drivers/isdn/pcbit/pcbit.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/isdn/pcbit/pcbit.h b/drivers/isdn/pcbit/pcbit.h
index 0dbdb5fd1..45c68871d 100644
--- a/drivers/isdn/pcbit/pcbit.h
+++ b/drivers/isdn/pcbit/pcbit.h
@@ -68,10 +68,10 @@ struct pcbit_dev {
struct frame_buf *write_queue;
/* Protocol start */
-#if LINUX_VERSION_CODE < 131841
- struct wait_queue *set_running_wq;
-#else
+#ifdef COMPAT_HAS_NEW_WAITQ
wait_queue_head_t set_running_wq;
+#else
+ struct wait_queue *set_running_wq;
#endif
struct timer_list set_running_timer;