diff options
Diffstat (limited to 'drivers/mtd/mtdpart.c')
-rw-r--r-- | drivers/mtd/mtdpart.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/mtd/mtdpart.c b/drivers/mtd/mtdpart.c index d318fee28595..5b664722e5b0 100644 --- a/drivers/mtd/mtdpart.c +++ b/drivers/mtd/mtdpart.c | |||
@@ -89,8 +89,8 @@ static int part_point(struct mtd_info *mtd, loff_t from, size_t len, | |||
89 | len = 0; | 89 | len = 0; |
90 | else if (from + len > mtd->size) | 90 | else if (from + len > mtd->size) |
91 | len = mtd->size - from; | 91 | len = mtd->size - from; |
92 | return part->master->point (part->master, from + part->offset, | 92 | return mtd_point(part->master, from + part->offset, len, retlen, |
93 | len, retlen, virt, phys); | 93 | virt, phys); |
94 | } | 94 | } |
95 | 95 | ||
96 | static void part_unpoint(struct mtd_info *mtd, loff_t from, size_t len) | 96 | static void part_unpoint(struct mtd_info *mtd, loff_t from, size_t len) |