watchdog: fix compiler error for missing parenthesis
Subsystems (3)
PATCH 1/1 watchdog: fix compiler error for missing parenthesis
Hi Stephen.
Joe's patch(watchdog: Use pr_<fmt> and pr_<level>) is missed the parenthesis in s3c2410_wdt.c. (based-on latest linux-next repository)
It's fixed with this patch.
--- drivers/watchdog/s3c2410_wdt.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)
drivers/watchdog/s3c2410_wdt.c +1 -1
@@ -523,7 +523,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); }
drivers/watchdog/s3c2410_wdt.c
Quoted 4 lines · Jaehoon Chung
Joe's
patch(watchdog: Use pr_<fmt> and pr_<level>)is missed the parenthesis ins3c2410_wdt.c. (based-on latest linux-next repository)
It's fixed with this patch.drivers/watchdog/s3c2410_wdt.c +0
-0
[]
drivers/watchdog/s3c2410_wdt.c static struct platform_driver s3c2410wdt_driver = { · line 526
Quoted 4 lines
static int
__initwatchdog_init(void)
{drivers/watchdog/s3c2410_wdt.c +1
-1- pr_info("S3C2410 Watchdog Timer, (c) 2004 Simtec Electronics\n"; +pr_info ("S3C2410 Watchdog Timer, (c) 2004 Simtec Electronics\n" );
Thanks.
[Cc'ing the watchdog maintainer]
Quoted 27 lines · On Fri, 16 Mar 2012 15:27:21 +0900 Jaehoon Chung <[email protected]> wrote:
Hi Stephen.
Joe's
patch(watchdog: Use pr_<fmt> and pr_<level>)is missed the parenthesis ins3c2410_wdt.c. (based-on latest linux-next repository)
It's fixed with this patch.Signed-off-by Jaehoon Chung <[email protected]>Signed-off-by Kyungmin Park <[email protected]>--- drivers/watchdog/s3c2410_wdt.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)drivers/watchdog/s3c2410_wdt.c +1
-1@@ -523,7 +523,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); }
Signature · 3 lines
Cheers, Stephen Rothwell [email protected] http://www.canb.auug.org.au/~sfr/