X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=drivers%2Fchar%2Fds1302.c;h=a75e8609be01f65f605d13a8f063ac6f5f93496d;hb=9464c7cf61b9433057924c36e6e02f303a00e768;hp=bcdb107aa96726c59c5226aacbe65df4bd9f5788;hpb=41689045f6a3cbe0550e1d34e9cc20d2e8c432ba;p=linux-2.6.git diff --git a/drivers/char/ds1302.c b/drivers/char/ds1302.c index bcdb107aa..a75e8609b 100644 --- a/drivers/char/ds1302.c +++ b/drivers/char/ds1302.c @@ -12,6 +12,7 @@ *! *!***************************************************************************/ +#include #include #include @@ -282,7 +283,7 @@ get_rtc_status(char *buf) /* The various file operations we support. */ -static const struct file_operations rtc_fops = { +static struct file_operations rtc_fops = { .owner = THIS_MODULE, .ioctl = rtc_ioctl, };