e61ec8330a53590bbf89e88e3ccbb5091eb22411
[openwrt/svn-archive/archive.git] / target / linux / rb532 / patches-2.6.27 / 020-rc32434_res_name.patch
1 diff -urN linux-2.6.27.5/drivers/watchdog/rc32434_wdt.c linux-2.6.27.5.new/drivers/watchdog/rc32434_wdt.c
2 --- linux-2.6.27.5/drivers/watchdog/rc32434_wdt.c 2008-11-07 18:55:34.000000000 +0100
3 +++ linux-2.6.27.5.new/drivers/watchdog/rc32434_wdt.c 2008-11-15 22:06:28.000000000 +0100
4 @@ -261,7 +261,7 @@
5 int ret;
6 struct resource *r;
7
8 - r = platform_get_resource_byname(pdev, IORESOURCE_MEM, "rb500_wdt_res");
9 + r = platform_get_resource_byname(pdev, IORESOURCE_MEM, "rb532_wdt_res");
10 if (!r) {
11 printk(KERN_ERR KBUILD_MODNAME
12 "failed to retrieve resources\n");