diff options
author | Felix Fietkau <nbd@openwrt.org> | 2007-05-24 15:59:32 +0000 |
---|---|---|
committer | Felix Fietkau <nbd@openwrt.org> | 2007-05-24 15:59:32 +0000 |
commit | 53496b7cc9b2d8b12b2758f734238d00643ff972 (patch) | |
tree | 49fb92e71dd6a68ec9d92a2da3d3fff4e1856b10 /package | |
parent | 5a6ddb2cece7f6d64ac15a491b368493e9ec7093 (diff) | |
download | upstream-53496b7cc9b2d8b12b2758f734238d00643ff972.tar.gz upstream-53496b7cc9b2d8b12b2758f734238d00643ff972.tar.bz2 upstream-53496b7cc9b2d8b12b2758f734238d00643ff972.zip |
fix ar7 compile
SVN-Revision: 7331
Diffstat (limited to 'package')
-rw-r--r-- | package/ar7-atm/patches/100-compile_fix.patch | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/package/ar7-atm/patches/100-compile_fix.patch b/package/ar7-atm/patches/100-compile_fix.patch index b985eb1d1f..bd081c48e7 100644 --- a/package/ar7-atm/patches/100-compile_fix.patch +++ b/package/ar7-atm/patches/100-compile_fix.patch @@ -691,3 +691,17 @@ diff -urN sangam_atm-07.01.00.10/tn7sar.c sangam-atm-0.3/tn7sar.c #include <linux/proc_fs.h> #include <linux/string.h> #include <linux/ctype.h> + +diff -ur atm.old/tn7dsl.c atm.dev/tn7dsl.c +--- atm.old/tn7dsl.c 2007-05-24 17:36:33.865636000 +0200 ++++ atm.dev/tn7dsl.c 2007-05-24 17:41:32.094298496 +0200 +@@ -3430,8 +3430,7 @@ + if (initialized == 1) + return; + +- dslmod_sysctl_header = register_sysctl_table(dslmod_root_table, 1); +- dslmod_root_table->child->de->owner = THIS_MODULE; ++ dslmod_sysctl_header = register_sysctl_table(dslmod_root_table); + + /* + * set the defaults |