Root/target/linux/brcm63xx/patches-3.3/106-bcm63xx_watchdog_section_mismatch.patch

1--- a/drivers/watchdog/bcm63xx_wdt.c
2+++ b/drivers/watchdog/bcm63xx_wdt.c
3@@ -301,7 +301,7 @@ static void bcm63xx_wdt_shutdown(struct
4     bcm63xx_wdt_pause();
5 }
6 
7-static struct platform_driver bcm63xx_wdt = {
8+static struct platform_driver bcm63xx_wdt_driver = {
9     .probe = bcm63xx_wdt_probe,
10     .remove = __devexit_p(bcm63xx_wdt_remove),
11     .shutdown = bcm63xx_wdt_shutdown,
12@@ -311,7 +311,7 @@ static struct platform_driver bcm63xx_wd
13     }
14 };
15 
16-module_platform_driver(bcm63xx_wdt);
17+module_platform_driver(bcm63xx_wdt_driver);
18 
19 MODULE_AUTHOR("Miguel Gaio <miguel.gaio@efixo.com>");
20 MODULE_AUTHOR("Florian Fainelli <florian@openwrt.org>");
21

Archive Download this file



interactive