aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/mtd/nand/au1550nd.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/mtd/nand/au1550nd.c')
-rw-r--r--drivers/mtd/nand/au1550nd.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/mtd/nand/au1550nd.c b/drivers/mtd/nand/au1550nd.c
index 3ffe05db4923..001545beab9a 100644
--- a/drivers/mtd/nand/au1550nd.c
+++ b/drivers/mtd/nand/au1550nd.c
@@ -580,7 +580,8 @@ static int __init au1xxx_nand_init(void)
580 } 580 }
581 581
582 /* Register the partitions */ 582 /* Register the partitions */
583 add_mtd_partitions(au1550_mtd, partition_info, ARRAY_SIZE(partition_info)); 583 mtd_device_register(au1550_mtd, partition_info,
584 ARRAY_SIZE(partition_info));
584 585
585 return 0; 586 return 0;
586 587