X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=drivers%2Fchar%2Fwatchdog%2Fsoftdog.c;fp=drivers%2Fchar%2Fwatchdog%2Fsoftdog.c;h=a91edaf3a350a1d7230740fe7832f537e85986f3;hb=64ba3f394c830ec48a1c31b53dcae312c56f1604;hp=ef8da517545add27cabc43338cbf17d851170625;hpb=be1e6109ac94a859551f8e1774eb9a8469fe055c;p=linux-2.6.git diff --git a/drivers/char/watchdog/softdog.c b/drivers/char/watchdog/softdog.c index ef8da5175..a91edaf3a 100644 --- a/drivers/char/watchdog/softdog.c +++ b/drivers/char/watchdog/softdog.c @@ -38,6 +38,7 @@ #include #include +#include #include #include #include @@ -243,7 +244,7 @@ static int softdog_notify_sys(struct notifier_block *this, unsigned long code, * Kernel Interfaces */ -static const struct file_operations softdog_fops = { +static struct file_operations softdog_fops = { .owner = THIS_MODULE, .llseek = no_llseek, .write = softdog_write,