diff options
Diffstat (limited to 'drivers/mtd/nand/sh_flctl.c')
-rw-r--r-- | drivers/mtd/nand/sh_flctl.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/mtd/nand/sh_flctl.c b/drivers/mtd/nand/sh_flctl.c index 81bbb5ee148d..93b1f74321c2 100644 --- a/drivers/mtd/nand/sh_flctl.c +++ b/drivers/mtd/nand/sh_flctl.c | |||
@@ -867,7 +867,7 @@ static int __devinit flctl_probe(struct platform_device *pdev) | |||
867 | if (ret) | 867 | if (ret) |
868 | goto err; | 868 | goto err; |
869 | 869 | ||
870 | add_mtd_partitions(flctl_mtd, pdata->parts, pdata->nr_parts); | 870 | mtd_device_register(flctl_mtd, pdata->parts, pdata->nr_parts); |
871 | 871 | ||
872 | return 0; | 872 | return 0; |
873 | 873 | ||