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
/
ep93xx_wdt.c
diff --git
a/drivers/char/watchdog/ep93xx_wdt.c
b/drivers/char/watchdog/ep93xx_wdt.c
index
9021dbb
..
01cf123
100644
(file)
--- a/
drivers/char/watchdog/ep93xx_wdt.c
+++ b/
drivers/char/watchdog/ep93xx_wdt.c
@@
-144,7
+144,7
@@
static int
ep93xx_wdt_ioctl(struct inode *inode, struct file *file, unsigned int cmd,
unsigned long arg)
{
ep93xx_wdt_ioctl(struct inode *inode, struct file *file, unsigned int cmd,
unsigned long arg)
{
- int ret = -ENO
IOCTLCMD
;
+ int ret = -ENO
TTY
;
switch (cmd) {
case WDIOC_GETSUPPORT:
switch (cmd) {
case WDIOC_GETSUPPORT:
@@
-187,7
+187,7
@@
static int ep93xx_wdt_release(struct inode *inode, struct file *file)
return 0;
}
return 0;
}
-static struct file_operations ep93xx_wdt_fops = {
+static
const
struct file_operations ep93xx_wdt_fops = {
.owner = THIS_MODULE,
.write = ep93xx_wdt_write,
.ioctl = ep93xx_wdt_ioctl,
.owner = THIS_MODULE,
.write = ep93xx_wdt_write,
.ioctl = ep93xx_wdt_ioctl,