linux-mips
[Top] [All Lists]

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

To: Wim Van Sebroeck <wim@iguana.be>
Subject: [PATCH 4/5 v3] WATCHDOG: mtx1-wdt: fix section mismatch
From: Florian Fainelli <florian@openwrt.org>
Date: Wed, 15 Jun 2011 19:15:52 +0200
Cc: linux-mips@linux-mips.org, linux-watchdog@vger.kernel.org, Manuel Lauss <manuel.lauss@googlemail.com>, Jamie Iles <jamie@jamieiles.com>
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:sender:from:organization:to:subject:date :user-agent:cc:mime-version:content-type:content-transfer-encoding :message-id; bh=M1Wk46Lg73Jhd/aVpCta1BQ9gn0srSi4C0keAUcV0h4=; b=AfqCkhY+DtOx1jwl3pmcNxtnIsjxEPFw+MJdx9sTbmCWC9JfX4VLd1jo1C7n1GxOWk 1DwRxt6cs1ObMU6biQqRCBwkh+BvA9g82O0VTkYtErYfAn1DbpJ0OqPIUY/lkxfGZdDz g68J9iH0y5QA2uoSBfk00qdxyxXuVKTtVc6kY=
Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=sender:from:organization:to:subject:date:user-agent:cc:mime-version :content-type:content-transfer-encoding:message-id; b=FEpHeAnDEzp6j8QdZrOtt7BYm36aGC/fJnAvHqpst6va+nBT0NdK8OTthYCuTydj57 R4JRAqHSjN49H4nEffXo4z0k5IJcf6EZ4gjBs6gV2mc36T6PCCNsSvq5h9IpXT9Q2hCr OkXtMYxpiAaB+JiHUuwz7C8O1iaxBwzZZIrJY=
Organization: OpenWrt
Sender: linux-mips-bounce@linux-mips.org
User-agent: KMail/1.13.6 (Linux/2.6.38-8-server; KDE/4.6.2; x86_64; ; )
Signed-off-by: Florian Fainelli <florian@openwrt.org>
---
No changes in v1, v2 and v3

diff --git a/drivers/watchdog/mtx-1_wdt.c b/drivers/watchdog/mtx-1_wdt.c
index 4b0134e..03cab33 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 v3] WATCHDOG: mtx1-wdt: fix section mismatch, Florian Fainelli <=