aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/char
diff options
context:
space:
mode:
authorWim Van Sebroeck <wim@iguana.be>2006-10-23 12:21:52 -0400
committerWim Van Sebroeck <wim@iguana.be>2006-10-23 12:21:52 -0400
commit0835caa2bf1933d5f41fd98e469107f4c00d547f (patch)
tree989c6355abf020e4cc7fb227d415169454267a22 /drivers/char
parent00b3b3e6605d7446cd410c7c9bb98f5336a15ca1 (diff)
[WATCHDOG] NS pc87413-wdt Watchdog driver - fixes
Some small fixes: * the status should return 0 and not 1 (1 means: * wdt_io is not a module-param, io is. Signed-off-by: Wim Van Sebroeck <wim@iguana.be>
Diffstat (limited to 'drivers/char')
-rw-r--r--drivers/char/watchdog/pc87413_wdt.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/char/watchdog/pc87413_wdt.c b/drivers/char/watchdog/pc87413_wdt.c
index 4d5612146cde..bd7727ba1ad9 100644
--- a/drivers/char/watchdog/pc87413_wdt.c
+++ b/drivers/char/watchdog/pc87413_wdt.c
@@ -362,7 +362,7 @@ static int pc87413_release(struct inode *inode, struct file *file)
362 362
363static int pc87413_status(void) 363static int pc87413_status(void)
364{ 364{
365 return 1; /* currently not supported */ 365 return 0; /* currently not supported */
366} 366}
367 367
368/** 368/**
@@ -626,7 +626,7 @@ MODULE_LICENSE("GPL");
626MODULE_ALIAS_MISCDEV(WATCHDOG_MINOR); 626MODULE_ALIAS_MISCDEV(WATCHDOG_MINOR);
627 627
628module_param(io, int, 0); 628module_param(io, int, 0);
629MODULE_PARM_DESC(wdt_io, MODNAME " I/O port (default: " __MODULE_STRING(io) ")."); 629MODULE_PARM_DESC(io, MODNAME " I/O port (default: " __MODULE_STRING(io) ").");
630 630
631module_param(timeout, int, 0); 631module_param(timeout, int, 0);
632MODULE_PARM_DESC(timeout, "Watchdog timeout in minutes (default=" __MODULE_STRING(timeout) ")."); 632MODULE_PARM_DESC(timeout, "Watchdog timeout in minutes (default=" __MODULE_STRING(timeout) ").");