From: Florian Fainelli Date: Sat, 8 Aug 2009 21:29:37 +0000 (+0000) Subject: [ar7] more 2.6.30 related fixes for ar7-atm X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=e09a1d8aa0a78494143facdd4733681eb6608795;p=openwrt%2Fsvn-archive%2Farchive.git [ar7] more 2.6.30 related fixes for ar7-atm SVN-Revision: 17183 --- 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