[PATCH] mark struct file_operations const 5
[deliverable/linux.git] / drivers / mtd / mtdchar.c
index 3013d0883b97212eb4ff1ea80c655872ec8cef75..61a994ea8af1f884b078e9253039819a1a42b1d6 100644 (file)
@@ -759,7 +759,7 @@ static int mtd_ioctl(struct inode *inode, struct file *file,
        return ret;
 } /* memory_ioctl */
 
-static struct file_operations mtd_fops = {
+static const struct file_operations mtd_fops = {
        .owner          = THIS_MODULE,
        .llseek         = mtd_lseek,
        .read           = mtd_read,
This page took 0.042026 seconds and 5 git commands to generate.