watchdog: bcm63xx_wdt: fix driver section mismatch
authorFlorian Fainelli <florian@openwrt.org>
Fri, 29 Jun 2012 09:14:44 +0000 (11:14 +0200)
committerWim Van Sebroeck <wim@iguana.be>
Mon, 23 Jul 2012 10:49:24 +0000 (12:49 +0200)
bcm63xx_wdt was used as a platform_driver but was not suffixed with
_driver, thus causing section mismatches, fix that.

Signed-off-by: Florian Fainelli <florian@openwrt.org>
Signed-off-by: Wim Van Sebroeck <wim@iguana.be>
drivers/watchdog/bcm63xx_wdt.c

index 8379dc32fd908f9bf0e76532ca27d847ca145fd3..551880bfd629c8043fa6459cb2ae969b3a0b2d47 100644 (file)
@@ -302,7 +302,7 @@ static void bcm63xx_wdt_shutdown(struct platform_device *pdev)
        bcm63xx_wdt_pause();
 }
 
-static struct platform_driver bcm63xx_wdt = {
+static struct platform_driver bcm63xx_wdt_driver = {
        .probe  = bcm63xx_wdt_probe,
        .remove = __devexit_p(bcm63xx_wdt_remove),
        .shutdown = bcm63xx_wdt_shutdown,
@@ -312,7 +312,7 @@ static struct platform_driver bcm63xx_wdt = {
        }
 };
 
-module_platform_driver(bcm63xx_wdt);
+module_platform_driver(bcm63xx_wdt_driver);
 
 MODULE_AUTHOR("Miguel Gaio <miguel.gaio@efixo.com>");
 MODULE_AUTHOR("Florian Fainelli <florian@openwrt.org>");