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
/
acquirewdt.c
diff --git
a/drivers/char/watchdog/acquirewdt.c
b/drivers/char/watchdog/acquirewdt.c
index
7289f4a
..
154d67e
100644
(file)
--- a/
drivers/char/watchdog/acquirewdt.c
+++ b/
drivers/char/watchdog/acquirewdt.c
@@
-183,7
+183,7
@@
static int acq_ioctl(struct inode *inode, struct file *file, unsigned int cmd,
}
default:
}
default:
- return -ENO
IOCTLCMD
;
+ return -ENO
TTY
;
}
}
}
}
@@
-231,7
+231,7
@@
static int acq_notify_sys(struct notifier_block *this, unsigned long code,
* Kernel Interfaces
*/
* Kernel Interfaces
*/
-static struct file_operations acq_fops = {
+static
const
struct file_operations acq_fops = {
.owner = THIS_MODULE,
.llseek = no_llseek,
.write = acq_write,
.owner = THIS_MODULE,
.llseek = no_llseek,
.write = acq_write,