diff options
Diffstat (limited to 'drivers/mtd/ssfdc.c')
-rw-r--r-- | drivers/mtd/ssfdc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/mtd/ssfdc.c b/drivers/mtd/ssfdc.c index 5f917f0a9609..976e3d28b962 100644 --- a/drivers/mtd/ssfdc.c +++ b/drivers/mtd/ssfdc.c | |||
@@ -169,7 +169,7 @@ static int read_raw_oob(struct mtd_info *mtd, loff_t offs, uint8_t *buf) | |||
169 | struct mtd_oob_ops ops; | 169 | struct mtd_oob_ops ops; |
170 | int ret; | 170 | int ret; |
171 | 171 | ||
172 | ops.mode = MTD_OOB_RAW; | 172 | ops.mode = MTD_OPS_RAW; |
173 | ops.ooboffs = 0; | 173 | ops.ooboffs = 0; |
174 | ops.ooblen = OOB_SIZE; | 174 | ops.ooblen = OOB_SIZE; |
175 | ops.oobbuf = buf; | 175 | ops.oobbuf = buf; |