From 3f52da61813f2c0ffdd62d663b705ae04f3a74e9 Mon Sep 17 00:00:00 2001 From: nbd Date: Thu, 24 May 2007 15:59:32 +0000 Subject: fix ar7 compile git-svn-id: svn://svn.openwrt.org/openwrt/trunk@7331 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- package/ar7-atm/patches/100-compile_fix.patch | 14 ++++++++++++++ 1 file changed, 14 insertions(+) (limited to 'package/ar7-atm/patches') diff --git a/package/ar7-atm/patches/100-compile_fix.patch b/package/ar7-atm/patches/100-compile_fix.patch index b985eb1d1..bd081c48e 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 #include #include + +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 -- cgit v1.2.3