X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=drivers%2Fchar%2Fwatchdog%2Fpcwd.c;h=6d44ca68312dff82e3ef867a94feedce5e148752;hb=9464c7cf61b9433057924c36e6e02f303a00e768;hp=9718717c4398d46e08b09c1758d50f8136ec8846;hpb=41689045f6a3cbe0550e1d34e9cc20d2e8c432ba;p=linux-2.6.git diff --git a/drivers/char/watchdog/pcwd.c b/drivers/char/watchdog/pcwd.c index 9718717c4..6d44ca683 100644 --- a/drivers/char/watchdog/pcwd.c +++ b/drivers/char/watchdog/pcwd.c @@ -49,6 +49,7 @@ * More info available at http://www.berkprod.com/ or http://www.pcwatchdog.com/ */ +#include /* For CONFIG_WATCHDOG_NOWAYOUT/... */ #include /* For module specific items */ #include /* For new moduleparam's */ #include /* For standard types (like size_t) */ @@ -739,7 +740,7 @@ static int pcwd_notify_sys(struct notifier_block *this, unsigned long code, void * Kernel Interfaces */ -static const struct file_operations pcwd_fops = { +static struct file_operations pcwd_fops = { .owner = THIS_MODULE, .llseek = no_llseek, .write = pcwd_write, @@ -754,7 +755,7 @@ static struct miscdevice pcwd_miscdev = { .fops = &pcwd_fops, }; -static const struct file_operations pcwd_temp_fops = { +static struct file_operations pcwd_temp_fops = { .owner = THIS_MODULE, .llseek = no_llseek, .read = pcwd_temp_read,