Skip to content

Commit

Permalink
watchdog: bcm63xx_wdt: fix driver section mismatch
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Florian Fainelli authored and Wim Van Sebroeck committed Jul 23, 2012
1 parent bff2343 commit 5a135f3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions drivers/watchdog/bcm63xx_wdt.c
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand All @@ -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>");
Expand Down

0 comments on commit 5a135f3

Please sign in to comment.