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
/
ib700wdt.c
diff --git
a/drivers/char/watchdog/ib700wdt.c
b/drivers/char/watchdog/ib700wdt.c
index
cf60329
..
c1ed209
100644
(file)
--- a/
drivers/char/watchdog/ib700wdt.c
+++ b/
drivers/char/watchdog/ib700wdt.c
@@
-31,7
+31,6
@@
*
*/
*
*/
-#include <linux/config.h>
#include <linux/module.h>
#include <linux/types.h>
#include <linux/miscdevice.h>
#include <linux/module.h>
#include <linux/types.h>
#include <linux/miscdevice.h>
@@
-200,7
+199,7
@@
ibwdt_ioctl(struct inode *inode, struct file *file, unsigned int cmd,
break;
default:
break;
default:
- return -ENO
IOCTLCMD
;
+ return -ENO
TTY
;
}
return 0;
}
}
return 0;
}
@@
-256,7
+255,7
@@
ibwdt_notify_sys(struct notifier_block *this, unsigned long code,
* Kernel Interfaces
*/
* Kernel Interfaces
*/
-static struct file_operations ibwdt_fops = {
+static
const
struct file_operations ibwdt_fops = {
.owner = THIS_MODULE,
.llseek = no_llseek,
.write = ibwdt_write,
.owner = THIS_MODULE,
.llseek = no_llseek,
.write = ibwdt_write,