diff options
Diffstat (limited to 'drivers/rtc/rtc-dev.c')
-rw-r--r-- | drivers/rtc/rtc-dev.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/rtc/rtc-dev.c b/drivers/rtc/rtc-dev.c index 82f2ac87ccd4..137330b8636b 100644 --- a/drivers/rtc/rtc-dev.c +++ b/drivers/rtc/rtc-dev.c | |||
@@ -384,7 +384,7 @@ static int rtc_dev_fasync(int fd, struct file *file, int on) | |||
384 | return fasync_helper(fd, file, on, &rtc->async_queue); | 384 | return fasync_helper(fd, file, on, &rtc->async_queue); |
385 | } | 385 | } |
386 | 386 | ||
387 | static struct file_operations rtc_dev_fops = { | 387 | static const struct file_operations rtc_dev_fops = { |
388 | .owner = THIS_MODULE, | 388 | .owner = THIS_MODULE, |
389 | .llseek = no_llseek, | 389 | .llseek = no_llseek, |
390 | .read = rtc_dev_read, | 390 | .read = rtc_dev_read, |