diff options
Diffstat (limited to 'drivers/mtd/mtdblock_ro.c')
-rw-r--r-- | drivers/mtd/mtdblock_ro.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/mtd/mtdblock_ro.c b/drivers/mtd/mtdblock_ro.c index 0470a6e86309..f5737b1153fa 100644 --- a/drivers/mtd/mtdblock_ro.c +++ b/drivers/mtd/mtdblock_ro.c | |||
@@ -30,7 +30,7 @@ static int mtdblock_readsect(struct mtd_blktrans_dev *dev, | |||
30 | { | 30 | { |
31 | size_t retlen; | 31 | size_t retlen; |
32 | 32 | ||
33 | if (dev->mtd->read(dev->mtd, (block * 512), 512, &retlen, buf)) | 33 | if (mtd_read(dev->mtd, (block * 512), 512, &retlen, buf)) |
34 | return 1; | 34 | return 1; |
35 | return 0; | 35 | return 0; |
36 | } | 36 | } |