X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=drivers%2Fchar%2Fwatchdog%2Fscx200_wdt.c;fp=drivers%2Fchar%2Fwatchdog%2Fscx200_wdt.c;h=b4a102a2d7e390cfa3774d0a6c7871756e6b11ec;hb=64ba3f394c830ec48a1c31b53dcae312c56f1604;hp=c561299a5537b483ab242399114bb9580c499930;hpb=be1e6109ac94a859551f8e1774eb9a8469fe055c;p=linux-2.6.git diff --git a/drivers/char/watchdog/scx200_wdt.c b/drivers/char/watchdog/scx200_wdt.c index c561299a5..b4a102a2d 100644 --- a/drivers/char/watchdog/scx200_wdt.c +++ b/drivers/char/watchdog/scx200_wdt.c @@ -17,6 +17,7 @@ of any nature resulting due to the use of this software. This software is provided AS-IS with no warranties. */ +#include #include #include #include @@ -194,7 +195,7 @@ static int scx200_wdt_ioctl(struct inode *inode, struct file *file, } } -static const struct file_operations scx200_wdt_fops = { +static struct file_operations scx200_wdt_fops = { .owner = THIS_MODULE, .llseek = no_llseek, .write = scx200_wdt_write,