[PATCH] mark struct file_operations const 2
[powerpc.git] / arch / cris / arch-v10 / drivers / ds1302.c
index 3cf4f23..88eff7f 100644 (file)
@@ -499,7 +499,7 @@ print_rtc_status(void)
 
 /* 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,
 };