[PATCH] mark struct file_operations const 3
[powerpc.git] / drivers / block / paride / pt.c
index c902b25..9f4e67e 100644 (file)
@@ -232,7 +232,7 @@ static char pt_scratch[512];        /* scratch block buffer */
 
 /* kernel glue structures */
 
-static struct file_operations pt_fops = {
+static const struct file_operations pt_fops = {
        .owner = THIS_MODULE,
        .read = pt_read,
        .write = pt_write,