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
/
cpu5wdt.c
diff --git
a/drivers/char/watchdog/cpu5wdt.c
b/drivers/char/watchdog/cpu5wdt.c
index
3e8410b
..
00bdabb
100644
(file)
--- a/
drivers/char/watchdog/cpu5wdt.c
+++ b/
drivers/char/watchdog/cpu5wdt.c
@@
-183,7
+183,7
@@
static int cpu5wdt_ioctl(struct inode *inode, struct file *file, unsigned int cm
}
break;
default:
}
break;
default:
- return -ENO
IOCTLCMD
;
+ return -ENO
TTY
;
}
return 0;
}
}
return 0;
}
@@
-198,7
+198,7
@@
static ssize_t cpu5wdt_write(struct file *file, const char __user *buf, size_t c
return count;
}
return count;
}
-static struct file_operations cpu5wdt_fops = {
+static
const
struct file_operations cpu5wdt_fops = {
.owner = THIS_MODULE,
.llseek = no_llseek,
.ioctl = cpu5wdt_ioctl,
.owner = THIS_MODULE,
.llseek = no_llseek,
.ioctl = cpu5wdt_ioctl,