diff options
Diffstat (limited to 'arch/cris')
-rw-r--r-- | arch/cris/arch-v32/drivers/axisflashmap.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/cris/arch-v32/drivers/axisflashmap.c b/arch/cris/arch-v32/drivers/axisflashmap.c index a2bde3744622..011bddbf073f 100644 --- a/arch/cris/arch-v32/drivers/axisflashmap.c +++ b/arch/cris/arch-v32/drivers/axisflashmap.c | |||
@@ -413,8 +413,8 @@ static int __init init_axis_flash(void) | |||
413 | } while (blockstat && ptable_sector); | 413 | } while (blockstat && ptable_sector); |
414 | #endif | 414 | #endif |
415 | if (ptable_sector) { | 415 | if (ptable_sector) { |
416 | main_mtd->read(main_mtd, ptable_sector, PAGESIZE, | 416 | mtd_read(main_mtd, ptable_sector, PAGESIZE, &len, |
417 | &len, page); | 417 | page); |
418 | ptable_head = &((struct partitiontable *) page)->head; | 418 | ptable_head = &((struct partitiontable *) page)->head; |
419 | } | 419 | } |
420 | 420 | ||