summaryrefslogtreecommitdiff
path: root/target/linux/rb532/patches-2.6.28/020-rc32434_res_name.patch
diff options
context:
space:
mode:
authorFlorian Fainelli <florian@openwrt.org>2009-03-15 12:56:39 +0000
committerFlorian Fainelli <florian@openwrt.org>2009-03-15 12:56:39 +0000
commit499fa7f7a12864f7d9637b52dbc23c6cb572243e (patch)
tree71c61df0a3a052ca694ba475d16d843ee242c651 /target/linux/rb532/patches-2.6.28/020-rc32434_res_name.patch
parenta54018aa87473925942be51e70e8306ee46f1acc (diff)
downloadmtk-20170518-499fa7f7a12864f7d9637b52dbc23c6cb572243e.zip
mtk-20170518-499fa7f7a12864f7d9637b52dbc23c6cb572243e.tar.gz
mtk-20170518-499fa7f7a12864f7d9637b52dbc23c6cb572243e.tar.bz2
add 2.6.28 patches and kernel config
SVN-Revision: 14884
Diffstat (limited to 'target/linux/rb532/patches-2.6.28/020-rc32434_res_name.patch')
-rw-r--r--target/linux/rb532/patches-2.6.28/020-rc32434_res_name.patch12
1 files changed, 12 insertions, 0 deletions
diff --git a/target/linux/rb532/patches-2.6.28/020-rc32434_res_name.patch b/target/linux/rb532/patches-2.6.28/020-rc32434_res_name.patch
new file mode 100644
index 0000000..e61ec83
--- /dev/null
+++ b/target/linux/rb532/patches-2.6.28/020-rc32434_res_name.patch
@@ -0,0 +1,12 @@
+diff -urN linux-2.6.27.5/drivers/watchdog/rc32434_wdt.c linux-2.6.27.5.new/drivers/watchdog/rc32434_wdt.c
+--- linux-2.6.27.5/drivers/watchdog/rc32434_wdt.c 2008-11-07 18:55:34.000000000 +0100
++++ linux-2.6.27.5.new/drivers/watchdog/rc32434_wdt.c 2008-11-15 22:06:28.000000000 +0100
+@@ -261,7 +261,7 @@
+ int ret;
+ struct resource *r;
+
+- r = platform_get_resource_byname(pdev, IORESOURCE_MEM, "rb500_wdt_res");
++ r = platform_get_resource_byname(pdev, IORESOURCE_MEM, "rb532_wdt_res");
+ if (!r) {
+ printk(KERN_ERR KBUILD_MODNAME
+ "failed to retrieve resources\n");