diff options
Diffstat (limited to 'drivers/mtd/core.c')
-rw-r--r-- | drivers/mtd/core.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/mtd/core.c b/drivers/mtd/core.c index 1950ee87ee..d2012b5f70 100644 --- a/drivers/mtd/core.c +++ b/drivers/mtd/core.c @@ -438,7 +438,7 @@ int mtd_read_oob(struct mtd_info *mtd, loff_t from, struct mtd_oob_ops *ops) return ret_code >= mtd->bitflip_threshold ? -EUCLEAN : 0; } -static struct file_operations mtd_ops = { +static struct cdev_operations mtd_ops = { .read = mtd_op_read, #ifdef CONFIG_MTD_WRITE .write = mtd_op_write, |