linux-mips
[Top] [All Lists]

[PATCH] rc32434_wdt: fix compilation failure

To: Wim Van Sebroeck <wim@iguana.be>
Subject: [PATCH] rc32434_wdt: fix compilation failure
From: Florian Fainelli <florian@openwrt.org>
Date: Wed, 2 Dec 2009 13:21:23 +0100
Cc: linux-kernel@vger.kernel.org, linux-mips@linux-mips.org, ralf@linux-mips.org
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:sender:from:date:subject :mime-version:x-uid:x-length:organization:to:cc:content-type :content-transfer-encoding:message-id; bh=2GzoOAe2WUrdb5yI4ZrvyskojHq0XXoMX3q7VnT0UY4=; b=wcVPTKlBNK1oaPfp5eSSnCVrgx+ky+ZdtpDrt9A8HjU2ZhtZYyFUDpXwgiH61btGJZ pzm46Fro6Ngb2489msFrkzriWKgfIQfCF62ti/K8tDhlIoweU2c0WxzweiXD3/NuwXXO UbJEUFGfdaAfuwomd5YQCTdzDRijXfZWdmqHo=
Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=sender:from:date:subject:mime-version:x-uid:x-length:organization :to:cc:content-type:content-transfer-encoding:message-id; b=cxVxW/9tp3p/BeZTv+t9J2Rm1quNTPYionKPyS+HWBYEmn2H6mByBaqArpFP8PtD3Z iXKHO5/lv6tpgU2pzqBzK2+bUVfAO9d4aDRBFBEYUjshycYGj2tX7AQU2YzCn1SZeatf z41KdzS5k9QZllLNkGhj6yP9cJwfoxqQ2W2Ik=
Organization: OpenWrt
Original-recipient: rfc822;linux-mips@linux-mips.org
Sender: linux-mips-bounce@linux-mips.org
Hi Wim,

This is a pretty critical fix, please try to get it in 2.6.32. Thank you
very much!
---
From: Florian Fainelli <florian@openwrt.org>
Subject: [PATCH] rc32434_wdt: fix compilation failure

This patch fixes the compilation failure of
rc32434 due to a bad module parameter description.

Signed-off-by: Florian Fainelli <florian@openwrt.org>
---
diff --git a/drivers/watchdog/rc32434_wdt.c b/drivers/watchdog/rc32434_wdt.c
index f6cccc9..47588de 100644
--- a/drivers/watchdog/rc32434_wdt.c
+++ b/drivers/watchdog/rc32434_wdt.c
@@ -62,7 +62,7 @@ extern unsigned int idt_cpu_freq;
 static int timeout = WATCHDOG_TIMEOUT;
 module_param(timeout, int, 0);
 MODULE_PARM_DESC(timeout, "Watchdog timeout value, in seconds (default="
-               WATCHDOG_TIMEOUT ")");
+               __MODULE_STRING(WATCHDOG_TIMEOUT) ")");
 
 static int nowayout = WATCHDOG_NOWAYOUT;
 module_param(nowayout, int, 0);

<Prev in Thread] Current Thread [Next in Thread>
  • [PATCH] rc32434_wdt: fix compilation failure, Florian Fainelli <=