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