diff options
author | John Crispin <john@openwrt.org> | 2010-11-03 19:06:39 +0000 |
---|---|---|
committer | John Crispin <john@openwrt.org> | 2010-11-03 19:06:39 +0000 |
commit | 109ef6e68696a12d1a34395d503191a0ceb39f4f (patch) | |
tree | 1b421bc0a871cec92ffd480f1322ddc2af5bbb80 /package/ifxmips-dsl-api/patches/100-dsl_compat.patch | |
parent | 251535331cb7393bc911dfd5a7c01f670b292549 (diff) | |
download | upstream-109ef6e68696a12d1a34395d503191a0ceb39f4f.tar.gz upstream-109ef6e68696a12d1a34395d503191a0ceb39f4f.tar.bz2 upstream-109ef6e68696a12d1a34395d503191a0ceb39f4f.zip |
* make dsl driver work with new kernel
SVN-Revision: 23837
Diffstat (limited to 'package/ifxmips-dsl-api/patches/100-dsl_compat.patch')
-rw-r--r-- | package/ifxmips-dsl-api/patches/100-dsl_compat.patch | 27 |
1 files changed, 25 insertions, 2 deletions
diff --git a/package/ifxmips-dsl-api/patches/100-dsl_compat.patch b/package/ifxmips-dsl-api/patches/100-dsl_compat.patch index a3020d4c9a..30e4374b79 100644 --- a/package/ifxmips-dsl-api/patches/100-dsl_compat.patch +++ b/package/ifxmips-dsl-api/patches/100-dsl_compat.patch @@ -39,7 +39,15 @@ --- a/src/include/drv_dsl_cpe_os_linux.h +++ b/src/include/drv_dsl_cpe_os_linux.h -@@ -24,7 +24,7 @@ +@@ -17,17 +17,17 @@ + #endif + + #include <asm/ioctl.h> +-#include <linux/autoconf.h> ++#include <generated/autoconf.h> + #include <linux/module.h> + #include <linux/kernel.h> + #include <linux/init.h> #include <linux/ctype.h> #include <linux/version.h> #include <linux/spinlock.h> @@ -47,4 +55,19 @@ +#include <linux/sched.h> #if (LINUX_VERSION_CODE > KERNEL_VERSION(2,6,17)) - #include <linux/utsrelease.h> +- #include <linux/utsrelease.h> ++ #include <generated/utsrelease.h> + #endif + + #include <linux/types.h> +--- a/src/mei/ifxmips_mei.c ++++ b/src/mei/ifxmips_mei.c +@@ -29,7 +29,7 @@ + #include <linux/kernel.h> + #include <linux/module.h> + #include <linux/version.h> +-#include <linux/utsrelease.h> ++#include <generated/utsrelease.h> + #include <linux/types.h> + #include <linux/fs.h> + #include <linux/mm.h> |