X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=blobdiff_plain;ds=sidebyside;f=drivers%2Fwatchdog%2Fmpc5200_wdt.c;h=77c1c2ae2cc2499f91928c6b3d69ddf34663f71b;hb=996abf053eec4d67136be8b911bbaaf989cfb99c;hp=11f6a111e75b750dc6716bb19ba2aedb4cdc98aa;hpb=c7ffb6bb7a1b6fe5912a009d561733911769d32b;p=linux-2.6 diff --git a/drivers/watchdog/mpc5200_wdt.c b/drivers/watchdog/mpc5200_wdt.c index 11f6a111e7..77c1c2ae2c 100644 --- a/drivers/watchdog/mpc5200_wdt.c +++ b/drivers/watchdog/mpc5200_wdt.c @@ -4,7 +4,7 @@ #include #include #include -#include +#include #include #include @@ -158,7 +158,7 @@ static int mpc5200_wdt_release(struct inode *inode, struct file *file) return 0; } -static struct file_operations mpc5200_wdt_fops = { +static const struct file_operations mpc5200_wdt_fops = { .owner = THIS_MODULE, .write = mpc5200_wdt_write, .ioctl = mpc5200_wdt_ioctl,