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
/
wafer5823wdt.c
diff --git
a/drivers/char/watchdog/wafer5823wdt.c
b/drivers/char/watchdog/wafer5823wdt.c
index
7cf6c9b
..
163e028
100644
(file)
--- a/
drivers/char/watchdog/wafer5823wdt.c
+++ b/
drivers/char/watchdog/wafer5823wdt.c
@@
-174,7
+174,7
@@
static int wafwdt_ioctl(struct inode *inode, struct file *file, unsigned int cmd
}
default:
}
default:
- return -ENO
IOCTLCMD
;
+ return -ENO
TTY
;
}
return 0;
}
}
return 0;
}
@@
-222,7
+222,7
@@
static int wafwdt_notify_sys(struct notifier_block *this, unsigned long code, vo
* Kernel Interfaces
*/
* Kernel Interfaces
*/
-static struct file_operations wafwdt_fops = {
+static
const
struct file_operations wafwdt_fops = {
.owner = THIS_MODULE,
.llseek = no_llseek,
.write = wafwdt_write,
.owner = THIS_MODULE,
.llseek = no_llseek,
.write = wafwdt_write,