X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=drivers%2Fchar%2Fgenrtc.c;h=588fca542a98ba514ebc6cfd2b6fa731351c7d25;hb=9464c7cf61b9433057924c36e6e02f303a00e768;hp=817dc409ac20a054c00219b4b8860b0c4d2ddff8;hpb=41689045f6a3cbe0550e1d34e9cc20d2e8c432ba;p=linux-2.6.git diff --git a/drivers/char/genrtc.c b/drivers/char/genrtc.c index 817dc409a..588fca542 100644 --- a/drivers/char/genrtc.c +++ b/drivers/char/genrtc.c @@ -43,6 +43,7 @@ #define RTC_VERSION "1.07" #include +#include #include #include #include @@ -482,7 +483,7 @@ static inline int gen_rtc_proc_init(void) { return 0; } * The various file operations we support. */ -static const struct file_operations gen_rtc_fops = { +static struct file_operations gen_rtc_fops = { .owner = THIS_MODULE, #ifdef CONFIG_GEN_RTC_X .read = gen_rtc_read,