X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=drivers%2Fchar%2Fwatchdog%2Fsc520_wdt.c;fp=drivers%2Fchar%2Fwatchdog%2Fsc520_wdt.c;h=2c7c9db71be81e9eb5318cebe94d7fd215ecd8c3;hb=16c70f8c1b54b61c3b951b6fb220df250fe09b32;hp=4ee9974ad8cbaec08ada8758d120c8bb32fdbc48;hpb=4e76c8a9fa413ccc09d3f7f664183dcce3555d57;p=linux-2.6.git diff --git a/drivers/char/watchdog/sc520_wdt.c b/drivers/char/watchdog/sc520_wdt.c index 4ee9974ad..2c7c9db71 100644 --- a/drivers/char/watchdog/sc520_wdt.c +++ b/drivers/char/watchdog/sc520_wdt.c @@ -336,7 +336,7 @@ static int fop_ioctl(struct inode *inode, struct file *file, unsigned int cmd, } } -static struct file_operations wdt_fops = { +static const struct file_operations wdt_fops = { .owner = THIS_MODULE, .llseek = no_llseek, .write = fop_write,