mirror of
https://github.com/followmsi/android_kernel_google_msm.git
synced 2024-11-06 23:17:41 +00:00
[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>
This commit is contained in:
parent
00b3b3e660
commit
0835caa2bf
1 changed files with 2 additions and 2 deletions
|
@ -362,7 +362,7 @@ static int pc87413_release(struct inode *inode, struct file *file)
|
||||||
|
|
||||||
static int pc87413_status(void)
|
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_ALIAS_MISCDEV(WATCHDOG_MINOR);
|
||||||
|
|
||||||
module_param(io, int, 0);
|
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_param(timeout, int, 0);
|
||||||
MODULE_PARM_DESC(timeout, "Watchdog timeout in minutes (default=" __MODULE_STRING(timeout) ").");
|
MODULE_PARM_DESC(timeout, "Watchdog timeout in minutes (default=" __MODULE_STRING(timeout) ").");
|
||||||
|
|
Loading…
Reference in a new issue