diff options
author | Shaun Ruffell <sruffell@digium.com> | 2009-11-19 05:42:20 +0000 |
---|---|---|
committer | Shaun Ruffell <sruffell@digium.com> | 2009-11-19 05:42:20 +0000 |
commit | af05ebf593b0e2cb93eb899ddcb91d207776a136 (patch) | |
tree | d35a00e05d50ae63fdeaa6757f6e16ec8603bd61 | |
parent | 238057b2d20dea156c5398775f870a103d9471cc (diff) |
Adding some header files to the different drivers in order to enable them to
compile against 2.6.32.
git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.4@4692 5390a7c7-147a-4af0-8ec9-7488f05a26cb
-rw-r--r-- | kernel/pciradio.c | 1 | ||||
-rw-r--r-- | kernel/wctdm.c | 2 | ||||
-rw-r--r-- | kernel/wctdm24xxp/GpakApi.c | 2 | ||||
-rw-r--r-- | kernel/wctdm24xxp/GpakCust.c | 2 | ||||
-rw-r--r-- | kernel/wctdm24xxp/base.c | 2 | ||||
-rw-r--r-- | kernel/wcte12xp/GpakApi.c | 2 | ||||
-rw-r--r-- | kernel/wcte12xp/base.c | 2 | ||||
-rw-r--r-- | kernel/xpp/xbus-core.c | 2 | ||||
-rw-r--r-- | kernel/xpp/xpp_zap.c | 1 | ||||
-rw-r--r-- | kernel/zaptel-base.c | 2 |
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 |