| Submitter | Artem Bityutskiy |
|---|---|
| Date | Dec. 6, 2011, 12:07 p.m. |
| Message ID | <1323173231.2163.6.camel@koala> |
| Download | mbox | patch |
| Permalink | /patch/129642/ |
| State | New |
| Headers | show |
Comments
Patch
diff --git a/drivers/mtd/maps/pxa2xx-flash.c b/drivers/mtd/maps/pxa2xx-flash.c index 411a17d..2a25b67 100644 --- a/drivers/mtd/maps/pxa2xx-flash.c +++ b/drivers/mtd/maps/pxa2xx-flash.c @@ -98,7 +98,7 @@ static int __devinit pxa2xx_flash_probe(struct platform_device *pdev) } info->mtd->owner = THIS_MODULE; - mtd_device_parse_register(info->mtd, probes, 0, NULL, 0); + mtd_device_parse_register(info->mtd, probes, 0, flash->parts, flash->nr_parts); platform_set_drvdata(pdev, info); return 0;