[PATCH] mark struct file_operations const 5
[deliverable/linux.git] / drivers / rtc / rtc-dev.c
index 82f2ac87ccd4722c8a4f9dbef562ddae1f6f6064..137330b8636b1192ec2965ee22defd28a600a4db 100644 (file)
@@ -384,7 +384,7 @@ static int rtc_dev_fasync(int fd, struct file *file, int on)
        return fasync_helper(fd, file, on, &rtc->async_queue);
 }
 
-static struct file_operations rtc_dev_fops = {
+static const struct file_operations rtc_dev_fops = {
        .owner          = THIS_MODULE,
        .llseek         = no_llseek,
        .read           = rtc_dev_read,
This page took 0.023575 seconds and 5 git commands to generate.