aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/mtd/mtdchar.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/mtd/mtdchar.c')
-rw-r--r--drivers/mtd/mtdchar.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/mtd/mtdchar.c b/drivers/mtd/mtdchar.c
index 3013d0883b97..61a994ea8af1 100644
--- a/drivers/mtd/mtdchar.c
+++ b/drivers/mtd/mtdchar.c
@@ -759,7 +759,7 @@ static int mtd_ioctl(struct inode *inode, struct file *file,
759 return ret; 759 return ret;
760} /* memory_ioctl */ 760} /* memory_ioctl */
761 761
762static struct file_operations mtd_fops = { 762static const struct file_operations mtd_fops = {
763 .owner = THIS_MODULE, 763 .owner = THIS_MODULE,
764 .llseek = mtd_lseek, 764 .llseek = mtd_lseek,
765 .read = mtd_read, 765 .read = mtd_read,