diff options
author | Shaun Ruffell <sruffell@digium.com> | 2009-05-01 16:42:23 +0000 |
---|---|---|
committer | Shaun Ruffell <sruffell@digium.com> | 2009-05-01 16:42:23 +0000 |
commit | e210e04ff8e1bafdd09557aab2ccb0650d099190 (patch) | |
tree | 50d21cb1dd2e4bced9f2224b00ed4c7c194c0dc1 /drivers/dahdi | |
parent | 87793360fc2af49614f0febcde7ffac1cac79141 (diff) |
wctc4xxp: Fix inclusion of linux/io.h on 2.6.9 kernels.
DAHDI-253
git-svn-id: http://svn.asterisk.org/svn/dahdi/linux/trunk@6549 a0bf4364-ded3-4de4-8d8a-66a801d63aff
Diffstat (limited to 'drivers/dahdi')
-rw-r--r-- | drivers/dahdi/wctc4xxp/base.c | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/drivers/dahdi/wctc4xxp/base.c b/drivers/dahdi/wctc4xxp/base.c index c0ccdf9..f1e466b 100644 --- a/drivers/dahdi/wctc4xxp/base.c +++ b/drivers/dahdi/wctc4xxp/base.c @@ -30,7 +30,6 @@ #include <linux/pci.h> #include <linux/interrupt.h> #include <linux/delay.h> -#include <linux/io.h> #include <linux/jiffies.h> #include <linux/moduleparam.h> #include <linux/firmware.h> @@ -42,6 +41,12 @@ #include "dahdi/kernel.h" +#if LINUX_VERSION_CODE < KERNEL_VERSION(2, 6, 18) +#include <asm/io.h> +#else +#include <linux/io.h> +#endif + /* COMPILE TIME OPTIONS =================================================== */ #define INTERRUPT 0 |