patch-2.3.14 linux/drivers/isdn/pcbit/pcbit.h

Next file: linux/drivers/macintosh/mac_keyb.c
Previous file: linux/drivers/isdn/pcbit/drv.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.3.13/linux/drivers/isdn/pcbit/pcbit.h linux/drivers/isdn/pcbit/pcbit.h
@@ -68,10 +68,10 @@
 	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;
 

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)