linux-mips
[Top] [All Lists]

[PATCH 4/5 v2] WATCHDOG: mtx1-wdt: fix section mismatch

To: Wim Van Sebroeck <wim@iguana.be>, linux-mips@linux-mips.org, linux-watchdog@vger.kernel.org, Manuel Lauss <manuel.lauss@googlemail.com>, Jamie Iles <jamie@jamieiles.com>
Subject: [PATCH 4/5 v2] WATCHDOG: mtx1-wdt: fix section mismatch
From: Florian Fainelli <florian@openwrt.org>
Date: Sun, 12 Jun 2011 18:56:32 +0200
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:sender:from:to:subject:date:user-agent :organization:mime-version:content-type:content-transfer-encoding :message-id; bh=jt5lL815yz2/MtBsrYve0oXZsDzPL+ZP5uOG8o9sLJQ=; b=BHCU9mpXP8DwndtbPAEk4l3x+S/LhsCtUXNPTHegBjCyZP9yvXvCwGwNmtN8LK89nU SbistZuV2syD6f0Mz3pI/L/aw61yZKvTifrEo93HffjyOQmjOh/wum5EQZycOUYxPNAb LYG/LE9WThsX4mNFG3oYmisNAGChACAxpHUdM=
Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=sender:from:to:subject:date:user-agent:organization:mime-version :content-type:content-transfer-encoding:message-id; b=ZqNqBeimYn6ouuYp8ygZ+HRXLCLe5MK/l1bga7GGcOJWO+28EVV51XJoK/5immGoU3 +oFlgjruMeqi9RFDqtz/CWPYh2ePM+cHWQ4RmX52VzAbrwj2VWOAJDwHbG8Yt/NEy/0s HpxLUzalK+L5R1DHgWQz1n+AZOf0aUJjVmo9c=
Organization: OpenWrt
Sender: linux-mips-bounce@linux-mips.org
User-agent: KMail/1.13.6 (Linux/2.6.38-9-generic; KDE/4.6.2; x86_64; ; )
Signed-off-by: Florian Fainelli <florian@openwrt.org>
---
No changes since v1

diff --git a/drivers/watchdog/mtx-1_wdt.c b/drivers/watchdog/mtx-1_wdt.c
index 0e51dca..c5f6e72 100644
--- a/drivers/watchdog/mtx-1_wdt.c
+++ b/drivers/watchdog/mtx-1_wdt.c
@@ -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);
-- 
1.7.4.1


<Prev in Thread] Current Thread [Next in Thread>
  • [PATCH 4/5 v2] WATCHDOG: mtx1-wdt: fix section mismatch, Florian Fainelli <=