[PATCH] watchdog: s3c2410_wdt: fix printk format compilation errors

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Without that fix we have:
  drivers/watchdog/s3c2410_wdt.c: In function ‘watchdog_init’:
  drivers/watchdog/s3c2410_wdt.c:542:0: error: unterminated argument list invoking macro "pr_info"
  [...]

This problem has been introduced by the commit 1ab73c46629484053953e678328b0a115a39ed3b
  "watchdog: Use pr_<fmt> and pr_<level>".

Signed-off-by: Denis 'GNUtoo' Carikli <GNUtoo@xxxxxxxxxx>
---
 drivers/watchdog/s3c2410_wdt.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/drivers/watchdog/s3c2410_wdt.c b/drivers/watchdog/s3c2410_wdt.c
index 96b598c..cd6d688 100644
--- a/drivers/watchdog/s3c2410_wdt.c
+++ b/drivers/watchdog/s3c2410_wdt.c
@@ -521,7 +521,7 @@ static struct platform_driver s3c2410wdt_driver = {
 
 static int __init watchdog_init(void)
 {
-	pr_info("S3C2410 Watchdog Timer, (c) 2004 Simtec Electronics\n";
+	pr_info("S3C2410 Watchdog Timer, (c) 2004 Simtec Electronics\n");
 
 	return platform_driver_register(&s3c2410wdt_driver);
 }
-- 
1.7.4.1

--
To unsubscribe from this list: send the line "unsubscribe linux-samsung-soc" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux SoC Development]     [Linux Rockchip Development]     [Linux USB Development]     [Video for Linux]     [Linux Audio Users]     [Linux SCSI]     [Yosemite News]

  Powered by Linux