summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--kernel/pciradio.c1
-rw-r--r--kernel/wctdm.c2
-rw-r--r--kernel/wctdm24xxp/GpakApi.c2
-rw-r--r--kernel/wctdm24xxp/GpakCust.c2
-rw-r--r--kernel/wctdm24xxp/base.c2
-rw-r--r--kernel/wcte12xp/GpakApi.c2
-rw-r--r--kernel/wcte12xp/base.c2
-rw-r--r--kernel/xpp/xbus-core.c2
-rw-r--r--kernel/xpp/xpp_zap.c1
-rw-r--r--kernel/zaptel-base.c2
10 files changed, 18 insertions, 0 deletions
diff --git a/kernel/pciradio.c b/kernel/pciradio.c
index cee4fc2..1a8376c 100644
--- a/kernel/pciradio.c
+++ b/kernel/pciradio.c
@@ -51,6 +51,7 @@ With driver: 303826 (1.5 %)
#include <linux/interrupt.h>
#include <asm/io.h>
#include <asm/delay.h>
+#include <linux/sched.h>
#ifdef STANDALONE_ZAPATA
#include "zaptel.h"
diff --git a/kernel/wctdm.c b/kernel/wctdm.c
index 7176c68..9da31ea 100644
--- a/kernel/wctdm.c
+++ b/kernel/wctdm.c
@@ -30,9 +30,11 @@
#include <linux/errno.h>
#include <linux/pci.h>
#include <linux/interrupt.h>
+#include <linux/sched.h>
#include <asm/io.h>
#include "proslic.h"
#include "wctdm.h"
+
/*
* Define for audio vs. register based ring detection
*
diff --git a/kernel/wctdm24xxp/GpakApi.c b/kernel/wctdm24xxp/GpakApi.c
index 78d0681..de50563 100644
--- a/kernel/wctdm24xxp/GpakApi.c
+++ b/kernel/wctdm24xxp/GpakApi.c
@@ -39,6 +39,8 @@
#include <asm/semaphore.h>
#endif
+#include <linux/workqueue.h>
+
#include "zaptel.h"
#include "GpakHpi.h"
diff --git a/kernel/wctdm24xxp/GpakCust.c b/kernel/wctdm24xxp/GpakCust.c
index f9af4e8..4c768af 100644
--- a/kernel/wctdm24xxp/GpakCust.c
+++ b/kernel/wctdm24xxp/GpakCust.c
@@ -41,6 +41,8 @@
#include <asm/semaphore.h>
#endif
+#include <linux/workqueue.h>
+
#include "zaptel.h"
#include "wctdm24xxp.h"
#include "GpakCust.h"
diff --git a/kernel/wctdm24xxp/base.c b/kernel/wctdm24xxp/base.c
index bf8a409..d4213ca 100644
--- a/kernel/wctdm24xxp/base.c
+++ b/kernel/wctdm24xxp/base.c
@@ -54,6 +54,8 @@ Tx Gain - W/Pre-Emphasis: -23.99 to 0.00 db
#include <linux/moduleparam.h>
#endif
+#include <linux/sched.h>
+
#include "zaptel.h"
#include "proslic.h"
#include "wctdm.h"
diff --git a/kernel/wcte12xp/GpakApi.c b/kernel/wcte12xp/GpakApi.c
index 78c4687..f57239d 100644
--- a/kernel/wcte12xp/GpakApi.c
+++ b/kernel/wcte12xp/GpakApi.c
@@ -32,6 +32,8 @@
* this program for more details.
*/
+#include <linux/workqueue.h>
+
#include "zaptel.h"
#include "GpakHpi.h"
diff --git a/kernel/wcte12xp/base.c b/kernel/wcte12xp/base.c
index e90dda3..2f7dcdc 100644
--- a/kernel/wcte12xp/base.c
+++ b/kernel/wcte12xp/base.c
@@ -39,6 +39,8 @@
#include <linux/moduleparam.h>
#endif
+#include <linux/sched.h>
+
#include "zaptel.h"
#include "../wct4xxp/wct4xxp.h" /* For certain definitions */
diff --git a/kernel/xpp/xbus-core.c b/kernel/xpp/xbus-core.c
index 89ac287..e328cb9 100644
--- a/kernel/xpp/xbus-core.c
+++ b/kernel/xpp/xbus-core.c
@@ -35,6 +35,8 @@
#include <linux/workqueue.h>
#include <linux/device.h>
#include <linux/delay.h> /* for msleep() to debug */
+#include <linux/sched.h>
+
#include "xpd.h"
#include "xpp_zap.h"
#include "xbus-core.h"
diff --git a/kernel/xpp/xpp_zap.c b/kernel/xpp/xpp_zap.c
index f99c4fe..65fab74 100644
--- a/kernel/xpp/xpp_zap.c
+++ b/kernel/xpp/xpp_zap.c
@@ -31,6 +31,7 @@
#endif
#include <linux/kernel.h>
+#include <linux/sched.h>
#include <linux/errno.h>
#include <linux/module.h>
#include <linux/device.h>
diff --git a/kernel/zaptel-base.c b/kernel/zaptel-base.c
index 89346b4..02e0bc2 100644
--- a/kernel/zaptel-base.c
+++ b/kernel/zaptel-base.c
@@ -90,6 +90,8 @@
#include <asm/i387.h>
#endif
+#include <linux/sched.h>
+
#define hdlc_to_ztchan(h) (((struct zt_hdlc *)(h))->chan)
#define dev_to_ztchan(h) (((struct zt_hdlc *)(dev_to_hdlc(h)->priv))->chan)
#ifdef LINUX26