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
/
booke_wdt.c
diff --git
a/drivers/char/watchdog/booke_wdt.c
b/drivers/char/watchdog/booke_wdt.c
index
b664060
..
4889022
100644
(file)
--- a/
drivers/char/watchdog/booke_wdt.c
+++ b/
drivers/char/watchdog/booke_wdt.c
@@
-14,7
+14,6
@@
* option) any later version.
*/
* option) any later version.
*/
-#include <linux/config.h>
#include <linux/module.h>
#include <linux/fs.h>
#include <linux/miscdevice.h>
#include <linux/module.h>
#include <linux/fs.h>
#include <linux/miscdevice.h>
@@
-126,7
+125,7
@@
static int booke_wdt_ioctl (struct inode *inode, struct file *file,
return -EINVAL;
return 0;
default:
return -EINVAL;
return 0;
default:
- return -ENO
IOCTLCMD
;
+ return -ENO
TTY
;
}
return 0;
}
return 0;
@@
-146,7
+145,7
@@
static int booke_wdt_open (struct inode *inode, struct file *file)
return 0;
}
return 0;
}
-static struct file_operations booke_wdt_fops = {
+static
const
struct file_operations booke_wdt_fops = {
.owner = THIS_MODULE,
.llseek = no_llseek,
.write = booke_wdt_write,
.owner = THIS_MODULE,
.llseek = no_llseek,
.write = booke_wdt_write,