X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=drivers%2Fchar%2Fwatchdog%2Fbooke_wdt.c;h=b6640606b44d87d7402e11a6c96ba79126a2a649;hb=9464c7cf61b9433057924c36e6e02f303a00e768;hp=e3cefc538b40476b341aeed5e4f61a874b64baa4;hpb=41689045f6a3cbe0550e1d34e9cc20d2e8c432ba;p=linux-2.6.git diff --git a/drivers/char/watchdog/booke_wdt.c b/drivers/char/watchdog/booke_wdt.c index e3cefc538..b6640606b 100644 --- a/drivers/char/watchdog/booke_wdt.c +++ b/drivers/char/watchdog/booke_wdt.c @@ -14,6 +14,7 @@ * option) any later version. */ +#include #include #include #include @@ -145,7 +146,7 @@ static int booke_wdt_open (struct inode *inode, struct file *file) return 0; } -static const struct file_operations booke_wdt_fops = { +static struct file_operations booke_wdt_fops = { .owner = THIS_MODULE, .llseek = no_llseek, .write = booke_wdt_write,