diff options
Diffstat (limited to 'drivers/mtd/nand/au1550nd.c')
-rw-r--r-- | drivers/mtd/nand/au1550nd.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/mtd/nand/au1550nd.c b/drivers/mtd/nand/au1550nd.c index 5d513b54a7d7..e7767eef4505 100644 --- a/drivers/mtd/nand/au1550nd.c +++ b/drivers/mtd/nand/au1550nd.c | |||
@@ -581,7 +581,8 @@ static int __init au1xxx_nand_init(void) | |||
581 | } | 581 | } |
582 | 582 | ||
583 | /* Register the partitions */ | 583 | /* Register the partitions */ |
584 | add_mtd_partitions(au1550_mtd, partition_info, ARRAY_SIZE(partition_info)); | 584 | mtd_device_register(au1550_mtd, partition_info, |
585 | ARRAY_SIZE(partition_info)); | ||
585 | 586 | ||
586 | return 0; | 587 | return 0; |
587 | 588 | ||