X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=drivers%2Fchar%2Fwatchdog%2Fsa1100_wdt.c;h=522a9370db948052c4bde4954fadef09b5759d49;hb=9464c7cf61b9433057924c36e6e02f303a00e768;hp=1fc16d995788792794e7cbf3cb673c62314464d0;hpb=41689045f6a3cbe0550e1d34e9cc20d2e8c432ba;p=linux-2.6.git diff --git a/drivers/char/watchdog/sa1100_wdt.c b/drivers/char/watchdog/sa1100_wdt.c index 1fc16d995..522a9370d 100644 --- a/drivers/char/watchdog/sa1100_wdt.c +++ b/drivers/char/watchdog/sa1100_wdt.c @@ -17,6 +17,7 @@ * * 27/11/2000 Initial release */ +#include #include #include #include @@ -135,7 +136,7 @@ static int sa1100dog_ioctl(struct inode *inode, struct file *file, return ret; } -static const struct file_operations sa1100dog_fops = +static struct file_operations sa1100dog_fops = { .owner = THIS_MODULE, .llseek = no_llseek,