diff options
author | Florian Fainelli <florian@openwrt.org> | 2012-06-29 05:14:44 -0400 |
---|---|---|
committer | Wim Van Sebroeck <wim@iguana.be> | 2012-07-23 06:49:24 -0400 |
commit | 5a135f3c72c5bc738a29629d81a99c981b17a736 (patch) | |
tree | 82103c216b6e0240c0452ab8bbe84de0c9f062b5 /drivers/watchdog | |
parent | bff23431fe7e2eba939fe4cdaa78d94a4d9497f7 (diff) |
watchdog: bcm63xx_wdt: fix driver section mismatch
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>
Diffstat (limited to 'drivers/watchdog')
-rw-r--r-- | drivers/watchdog/bcm63xx_wdt.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/watchdog/bcm63xx_wdt.c b/drivers/watchdog/bcm63xx_wdt.c index 8379dc32fd90..551880bfd629 100644 --- a/drivers/watchdog/bcm63xx_wdt.c +++ b/drivers/watchdog/bcm63xx_wdt.c | |||
@@ -302,7 +302,7 @@ static void bcm63xx_wdt_shutdown(struct platform_device *pdev) | |||
302 | bcm63xx_wdt_pause(); | 302 | bcm63xx_wdt_pause(); |
303 | } | 303 | } |
304 | 304 | ||
305 | static struct platform_driver bcm63xx_wdt = { | 305 | static struct platform_driver bcm63xx_wdt_driver = { |
306 | .probe = bcm63xx_wdt_probe, | 306 | .probe = bcm63xx_wdt_probe, |
307 | .remove = __devexit_p(bcm63xx_wdt_remove), | 307 | .remove = __devexit_p(bcm63xx_wdt_remove), |
308 | .shutdown = bcm63xx_wdt_shutdown, | 308 | .shutdown = bcm63xx_wdt_shutdown, |
@@ -312,7 +312,7 @@ static struct platform_driver bcm63xx_wdt = { | |||
312 | } | 312 | } |
313 | }; | 313 | }; |
314 | 314 | ||
315 | module_platform_driver(bcm63xx_wdt); | 315 | module_platform_driver(bcm63xx_wdt_driver); |
316 | 316 | ||
317 | MODULE_AUTHOR("Miguel Gaio <miguel.gaio@efixo.com>"); | 317 | MODULE_AUTHOR("Miguel Gaio <miguel.gaio@efixo.com>"); |
318 | MODULE_AUTHOR("Florian Fainelli <florian@openwrt.org>"); | 318 | MODULE_AUTHOR("Florian Fainelli <florian@openwrt.org>"); |