aboutsummaryrefslogtreecommitdiffstats
path: root/package/kernel/lantiq/ltq-adsl/patches/120-platform.patch
diff options
context:
space:
mode:
Diffstat (limited to 'package/kernel/lantiq/ltq-adsl/patches/120-platform.patch')
-rw-r--r--package/kernel/lantiq/ltq-adsl/patches/120-platform.patch15
1 files changed, 8 insertions, 7 deletions
diff --git a/package/kernel/lantiq/ltq-adsl/patches/120-platform.patch b/package/kernel/lantiq/ltq-adsl/patches/120-platform.patch
index 20c1ccf471..e1dc254ec0 100644
--- a/package/kernel/lantiq/ltq-adsl/patches/120-platform.patch
+++ b/package/kernel/lantiq/ltq-adsl/patches/120-platform.patch
@@ -1,14 +1,15 @@
--- a/src/common/drv_dsl_cpe_os_linux.c
+++ b/src/common/drv_dsl_cpe_os_linux.c
-@@ -12,6 +12,7 @@
+@@ -11,7 +11,7 @@
+ #ifdef __LINUX__
#define DSL_INTERN
- #include <linux/device.h>
-+#include <linux/platform_device.h>
+-#include <linux/device.h>
++#include <linux/of_platform.h>
#include "drv_dsl_cpe_api.h"
#include "drv_dsl_cpe_api_ioctl.h"
-@@ -1063,7 +1064,7 @@ static void DSL_DRV_DebugInit(void)
+@@ -1070,7 +1070,7 @@ static void DSL_DRV_DebugInit(void)
#endif
/* Entry point of driver */
@@ -17,7 +18,7 @@
{
struct class *dsl_class;
DSL_int_t i;
-@@ -1117,7 +1118,7 @@ int __init DSL_ModuleInit(void)
+@@ -1124,7 +1124,7 @@ int __init DSL_ModuleInit(void)
return 0;
}
@@ -26,7 +27,7 @@
{
printk("Module will be unloaded"DSL_DRV_CRLF);
-@@ -1132,7 +1133,7 @@ void __exit DSL_ModuleCleanup(void)
+@@ -1139,7 +1139,7 @@ void __exit DSL_ModuleCleanup(void)
(DSL_uint8_t**)&g_BndFpgaBase);
#endif /* defined(INCLUDE_DSL_CPE_API_VINAX) && defined(INCLUDE_DSL_BONDING)*/
@@ -35,7 +36,7 @@
}
#ifndef _lint
-@@ -1148,8 +1149,30 @@ module_param(debug_level, byte, 0);
+@@ -1155,8 +1155,30 @@ module_param(debug_level, byte, 0);
MODULE_PARM_DESC(debug_level, "set to get more (1) or fewer (4) debug outputs");
#endif /* #ifndef DSL_DEBUG_DISABLE*/