1
0
mirror of git://projects.qi-hardware.com/openwrt-xburst.git synced 2025-04-21 12:27:27 +03:00

[ifxmips]

* make dsl driver work with new kernel


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@23837 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
blogic
2010-11-03 19:06:39 +00:00
parent 0a2b2965cd
commit 6cd2734ad3
9 changed files with 44 additions and 819 deletions

View File

@@ -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>