diff options
Diffstat (limited to 'drivers/mtd/nand/mxc_nand.c')
-rw-r--r-- | drivers/mtd/nand/mxc_nand.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/mtd/nand/mxc_nand.c b/drivers/mtd/nand/mxc_nand.c index 74a43b818d0e..3c4c0533191d 100644 --- a/drivers/mtd/nand/mxc_nand.c +++ b/drivers/mtd/nand/mxc_nand.c | |||
@@ -1226,8 +1226,8 @@ static int __init mxcnd_probe(struct platform_device *pdev) | |||
1226 | } | 1226 | } |
1227 | 1227 | ||
1228 | /* Register the partitions */ | 1228 | /* Register the partitions */ |
1229 | mtd_device_parse_register(mtd, part_probes, 0, | 1229 | mtd_device_parse_register(mtd, part_probes, NULL, pdata->parts, |
1230 | pdata->parts, pdata->nr_parts); | 1230 | pdata->nr_parts); |
1231 | 1231 | ||
1232 | platform_set_drvdata(pdev, host); | 1232 | platform_set_drvdata(pdev, host); |
1233 | 1233 | ||