diff options
Diffstat (limited to 'drivers/rtc/rtc-proc.c')
-rw-r--r-- | drivers/rtc/rtc-proc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/rtc/rtc-proc.c b/drivers/rtc/rtc-proc.c index c272afd62173..1bd624fc685c 100644 --- a/drivers/rtc/rtc-proc.c +++ b/drivers/rtc/rtc-proc.c | |||
@@ -96,7 +96,7 @@ static int rtc_proc_release(struct inode *inode, struct file *file) | |||
96 | return res; | 96 | return res; |
97 | } | 97 | } |
98 | 98 | ||
99 | static struct file_operations rtc_proc_fops = { | 99 | static const struct file_operations rtc_proc_fops = { |
100 | .open = rtc_proc_open, | 100 | .open = rtc_proc_open, |
101 | .read = seq_read, | 101 | .read = seq_read, |
102 | .llseek = seq_lseek, | 102 | .llseek = seq_lseek, |