diff options
Diffstat (limited to 'drivers/mtd/nand/sharpsl.c')
-rw-r--r-- | drivers/mtd/nand/sharpsl.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/mtd/nand/sharpsl.c b/drivers/mtd/nand/sharpsl.c index b175c0fd8b93..2d269a53f8bb 100644 --- a/drivers/mtd/nand/sharpsl.c +++ b/drivers/mtd/nand/sharpsl.c | |||
@@ -181,8 +181,8 @@ static int __devinit sharpsl_nand_probe(struct platform_device *pdev) | |||
181 | /* Register the partitions */ | 181 | /* Register the partitions */ |
182 | sharpsl->mtd.name = "sharpsl-nand"; | 182 | sharpsl->mtd.name = "sharpsl-nand"; |
183 | 183 | ||
184 | err = mtd_device_parse_register(&sharpsl->mtd, NULL, 0, | 184 | err = mtd_device_parse_register(&sharpsl->mtd, NULL, NULL, |
185 | data->partitions, data->nr_partitions); | 185 | data->partitions, data->nr_partitions); |
186 | if (err) | 186 | if (err) |
187 | goto err_add; | 187 | goto err_add; |
188 | 188 | ||