aboutsummaryrefslogtreecommitdiffstats
path: root/package/ar7-atm
diff options
context:
space:
mode:
authorFlorian Fainelli <florian@openwrt.org>2009-08-08 21:29:37 +0000
committerFlorian Fainelli <florian@openwrt.org>2009-08-08 21:29:37 +0000
commit282f5aaea816fb70476eeeb4451280124aa5ee5f (patch)
treecd3d20b5179c9ee82e9d459a167df39693513bef /package/ar7-atm
parenta786f3fd47370b9ee4bf46029bae3f6384efec46 (diff)
downloadupstream-282f5aaea816fb70476eeeb4451280124aa5ee5f.tar.gz
upstream-282f5aaea816fb70476eeeb4451280124aa5ee5f.tar.bz2
upstream-282f5aaea816fb70476eeeb4451280124aa5ee5f.zip
[ar7] more 2.6.30 related fixes for ar7-atm
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@17183 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package/ar7-atm')
-rw-r--r--package/ar7-atm/patches/170-bus_id_removal.patch13
1 files changed, 13 insertions, 0 deletions
diff --git a/package/ar7-atm/patches/170-bus_id_removal.patch b/package/ar7-atm/patches/170-bus_id_removal.patch
index 5861ce26ae..64c92b574c 100644
--- a/package/ar7-atm/patches/170-bus_id_removal.patch
+++ b/package/ar7-atm/patches/170-bus_id_removal.patch
@@ -18,3 +18,16 @@
.release = avsar_release,
};
+diff -urN sangam_atm-D7.04.03.00/tn7dsl.c sangam_atm-D7.04.03.00.new/tn7dsl.c
+--- sangam_atm-D7.04.03.00/tn7dsl.c 2009-08-08 21:41:11.000000000 +0200
++++ sangam_atm-D7.04.03.00.new/tn7dsl.c 2009-08-08 21:41:40.000000000 +0200
+@@ -458,6 +458,9 @@
+ const struct firmware *fw_entry;
+ size_t size;
+
++#if LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,30)
++ dev_set_name(&avsar, "avsar");
++#endif
+ printk("requesting firmware image \"ar0700xx.bin\"\n");
+ if(device_register(&avsar) < 0) {
+ printk(KERN_ERR