git://git.onelab.eu
/
linux-2.6.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
fedora core 6 1.2949 + vserver 2.2.0
[linux-2.6.git]
/
drivers
/
char
/
watchdog
/
wdt977.c
diff --git
a/drivers/char/watchdog/wdt977.c
b/drivers/char/watchdog/wdt977.c
index
3843900
..
6253041
100644
(file)
--- a/
drivers/char/watchdog/wdt977.c
+++ b/
drivers/char/watchdog/wdt977.c
@@
-24,7
+24,6
@@
#include <linux/module.h>
#include <linux/moduleparam.h>
#include <linux/module.h>
#include <linux/moduleparam.h>
-#include <linux/config.h>
#include <linux/types.h>
#include <linux/kernel.h>
#include <linux/fs.h>
#include <linux/types.h>
#include <linux/kernel.h>
#include <linux/fs.h>
@@
-362,7
+361,7
@@
static int wdt977_ioctl(struct inode *inode, struct file *file,
switch(cmd)
{
default:
switch(cmd)
{
default:
- return -ENO
IOCTLCMD
;
+ return -ENO
TTY
;
case WDIOC_GETSUPPORT:
return copy_to_user(uarg.ident, &ident,
case WDIOC_GETSUPPORT:
return copy_to_user(uarg.ident, &ident,
@@
-419,7
+418,7
@@
static int wdt977_notify_sys(struct notifier_block *this, unsigned long code,
return NOTIFY_DONE;
}
return NOTIFY_DONE;
}
-static struct file_operations wdt977_fops=
+static
const
struct file_operations wdt977_fops=
{
.owner = THIS_MODULE,
.llseek = no_llseek,
{
.owner = THIS_MODULE,
.llseek = no_llseek,