diff options
author | John Crispin <john@openwrt.org> | 2015-11-24 20:41:07 +0000 |
---|---|---|
committer | John Crispin <john@openwrt.org> | 2015-11-24 20:41:07 +0000 |
commit | 091b668f1a84e949d43e056c518ee69e55f41c44 (patch) | |
tree | 3b6d800692e557e2adc7e19f12423fd06f98a9c4 /package/kernel/lantiq/ltq-vdsl/patches | |
parent | 5d236c4dd0f83261eebe76499636c676d5e26152 (diff) | |
download | upstream-091b668f1a84e949d43e056c518ee69e55f41c44.tar.gz upstream-091b668f1a84e949d43e056c518ee69e55f41c44.tar.bz2 upstream-091b668f1a84e949d43e056c518ee69e55f41c44.zip |
lantiq: ltq-vdsl: update to version 4.16.6.3
In addition to the update this also fixes some build warnings and makes it
use the same configure option as used in Lantiq UGW.
Signed-off-by: Hauke Mehrtens <hauke.mehrtens@lantiq.com>
SVN-Revision: 47635
Diffstat (limited to 'package/kernel/lantiq/ltq-vdsl/patches')
-rw-r--r-- | package/kernel/lantiq/ltq-vdsl/patches/100-compat.patch | 20 |
1 files changed, 5 insertions, 15 deletions
diff --git a/package/kernel/lantiq/ltq-vdsl/patches/100-compat.patch b/package/kernel/lantiq/ltq-vdsl/patches/100-compat.patch index e68a6f0ec3..4af07da370 100644 --- a/package/kernel/lantiq/ltq-vdsl/patches/100-compat.patch +++ b/package/kernel/lantiq/ltq-vdsl/patches/100-compat.patch @@ -19,7 +19,7 @@ #include "drv_dsl_cpe_api.h" #include "drv_dsl_cpe_api_ioctl.h" -@@ -238,24 +239,10 @@ static DSL_long_t DSL_DRV_Ioctls(DSL_DRV +@@ -238,14 +239,7 @@ static DSL_long_t DSL_DRV_Ioctls(DSL_DRV } #if (LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,36)) @@ -34,18 +34,8 @@ + pINode = file_inode(pFile); #endif -- if (pINode == DSL_NULL) -- { -- bIsInKernel = DSL_TRUE; -- } -- else -- { - bIsInKernel = DSL_FALSE; -- } - - if ( (_IOC_TYPE(nCommand) == DSL_IOC_MAGIC_CPE_API) || - (_IOC_TYPE(nCommand) == DSL_IOC_MAGIC_CPE_API_G997) || -@@ -1102,6 +1089,9 @@ static void DSL_DRV_DebugInit(void) + if (pINode == DSL_NULL) +@@ -1118,6 +1112,9 @@ static void DSL_DRV_DebugInit(void) return; } @@ -55,7 +45,7 @@ /* Entry point of driver */ int __init DSL_ModuleInit(void) { -@@ -1140,6 +1130,10 @@ int __init DSL_ModuleInit(void) +@@ -1156,6 +1153,10 @@ int __init DSL_ModuleInit(void) DSL_DRV_DevNodeInit(); @@ -66,7 +56,7 @@ return 0; } -@@ -1147,6 +1141,11 @@ void __exit DSL_ModuleCleanup(void) +@@ -1163,6 +1164,11 @@ void __exit DSL_ModuleCleanup(void) { printk("Module will be unloaded"DSL_DRV_CRLF); |