diff options
author | Florian Fainelli <florian@openwrt.org> | 2008-11-15 23:15:58 +0000 |
---|---|---|
committer | Florian Fainelli <florian@openwrt.org> | 2008-11-15 23:15:58 +0000 |
commit | 6854bd76a0c4a0ce9297ae43cca04b6b4c258af2 (patch) | |
tree | 873fdd8f5aa73c58191e88b2930a61ae0a44b213 /target/linux/rb532/patches-2.6.27/009-rc32434_res_name.patch | |
parent | 9ec67547ff137a5f7ca7418c87c222a85dc0d57d (diff) | |
download | master-187ad058-6854bd76a0c4a0ce9297ae43cca04b6b4c258af2.tar.gz master-187ad058-6854bd76a0c4a0ce9297ae43cca04b6b4c258af2.tar.bz2 master-187ad058-6854bd76a0c4a0ce9297ae43cca04b6b4c258af2.zip |
Add 2.6.27 support to rb532, nand is not recognized, needs to be sorted out
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@13224 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/rb532/patches-2.6.27/009-rc32434_res_name.patch')
-rw-r--r-- | target/linux/rb532/patches-2.6.27/009-rc32434_res_name.patch | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/target/linux/rb532/patches-2.6.27/009-rc32434_res_name.patch b/target/linux/rb532/patches-2.6.27/009-rc32434_res_name.patch new file mode 100644 index 0000000000..e61ec8330a --- /dev/null +++ b/target/linux/rb532/patches-2.6.27/009-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"); |