diff options
Diffstat (limited to 'drivers/mtd/maps/sa1100-flash.c')
-rw-r--r-- | drivers/mtd/maps/sa1100-flash.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/mtd/maps/sa1100-flash.c b/drivers/mtd/maps/sa1100-flash.c index 1eaf7b6c35e5..a675bdbcb0fe 100644 --- a/drivers/mtd/maps/sa1100-flash.c +++ b/drivers/mtd/maps/sa1100-flash.c | |||
@@ -264,8 +264,8 @@ static int __devinit sa1100_mtd_probe(struct platform_device *pdev) | |||
264 | /* | 264 | /* |
265 | * Partition selection stuff. | 265 | * Partition selection stuff. |
266 | */ | 266 | */ |
267 | mtd_device_parse_register(info->mtd, part_probes, 0, | 267 | mtd_device_parse_register(info->mtd, part_probes, NULL, plat->parts, |
268 | plat->parts, plat->nr_parts); | 268 | plat->nr_parts); |
269 | 269 | ||
270 | platform_set_drvdata(pdev, info); | 270 | platform_set_drvdata(pdev, info); |
271 | err = 0; | 271 | err = 0; |