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
linux 2.6.16.38 w/ vs2.0.3-rc1
[linux-2.6.git]
/
drivers
/
char
/
watchdog
/
shwdt.c
diff --git
a/drivers/char/watchdog/shwdt.c
b/drivers/char/watchdog/shwdt.c
index
1355038
..
1f4cab5
100644
(file)
--- a/
drivers/char/watchdog/shwdt.c
+++ b/
drivers/char/watchdog/shwdt.c
@@
-17,6
+17,7
@@
* Added expect close support, made emulated timeout runtime changeable
* general cleanups, add some ioctls
*/
* Added expect close support, made emulated timeout runtime changeable
* general cleanups, add some ioctls
*/
+#include <linux/config.h>
#include <linux/module.h>
#include <linux/moduleparam.h>
#include <linux/init.h>
#include <linux/module.h>
#include <linux/moduleparam.h>
#include <linux/init.h>
@@
-344,7
+345,7
@@
static int sh_wdt_notify_sys(struct notifier_block *this,
return NOTIFY_DONE;
}
return NOTIFY_DONE;
}
-static
const
struct file_operations sh_wdt_fops = {
+static struct file_operations sh_wdt_fops = {
.owner = THIS_MODULE,
.llseek = no_llseek,
.write = sh_wdt_write,
.owner = THIS_MODULE,
.llseek = no_llseek,
.write = sh_wdt_write,