Skip to contentSkip to conversation

WATCHDOG: mtx1-wdt: fix section mismatch

PATCH In review Florian Fainelli 1 participant 1 message Jun 15, 2011

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH v3 4/5 WATCHDOG: mtx1-wdt: fix section mismatch

---
No changes in v1, v2 and v3

drivers/watchdog/mtx-1_wdt.c +3 -3
index 4b0134e..03cab33 100644
@@ -248,7 +248,7 @@ static int __devexit mtx1_wdt_remove(struct platform_device *pdev)
 	return 0;
 }
 
-static struct platform_driver mtx1_wdt = {
+static struct platform_driver mtx1_wdt_driver = {
 	.probe = mtx1_wdt_probe,
 	.remove = __devexit_p(mtx1_wdt_remove),
 	.driver.name = "mtx1-wdt",
@@ -257,12 +257,12 @@ static struct platform_driver mtx1_wdt = {
 
 static int __init mtx1_wdt_init(void)
 {
-	return platform_driver_register(&mtx1_wdt);
+	return platform_driver_register(&mtx1_wdt_driver);
 }
 
 static void __exit mtx1_wdt_exit(void)
 {
-	platform_driver_unregister(&mtx1_wdt);
+	platform_driver_unregister(&mtx1_wdt_driver);
 }
 
 module_init(mtx1_wdt_init);
Signature · 1 line
1.7.4.1