projects
/
GitHub
/
moto-9609
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
00b3b3e
)
[WATCHDOG] NS pc87413-wdt Watchdog driver - fixes
author
Wim Van Sebroeck
<wim@iguana.be>
Mon, 23 Oct 2006 16:21:52 +0000
(18:21 +0200)
committer
Wim Van Sebroeck
<wim@iguana.be>
Mon, 23 Oct 2006 16:21:52 +0000
(18:21 +0200)
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>
drivers/char/watchdog/pc87413_wdt.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/char/watchdog/pc87413_wdt.c
b/drivers/char/watchdog/pc87413_wdt.c
index 4d5612146cded76629c7aa9132ee39c9387627b4..bd7727ba1ad9ce14de20424ee9244349a26fa5ce 100644
(file)
--- 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)
static int pc87413_status(void)
{
- return
1
; /* currently not supported */
+ return
0
; /* currently not supported */
}
/**
@@
-626,7
+626,7
@@
MODULE_LICENSE("GPL");
MODULE_ALIAS_MISCDEV(WATCHDOG_MINOR);
module_param(io, int, 0);
-MODULE_PARM_DESC(
wdt_
io, MODNAME " I/O port (default: " __MODULE_STRING(io) ").");
+MODULE_PARM_DESC(io, MODNAME " I/O port (default: " __MODULE_STRING(io) ").");
module_param(timeout, int, 0);
MODULE_PARM_DESC(timeout, "Watchdog timeout in minutes (default=" __MODULE_STRING(timeout) ").");