projects
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
df16c86
)
mtd: pxa2xx-flash.c: It used to fall back to provided table.
author
Jonathan Cameron
<jic23@cam.ac.uk>
Fri, 11 Nov 2011 17:06:20 +0000
(17:06 +0000)
committer
David Woodhouse
<David.Woodhouse@intel.com>
Wed, 7 Dec 2011 10:05:15 +0000
(10:05 +0000)
Make this work again.
Signed-off-by: Jonathan Cameron <jic23@cam.ac.uk>
Acked-by: Dmitry Eremin-Solenikov <dbaryshkov@gmail.com>
Signed-off-by: Artem Bityutskiy <Artem.Bityutskiy@intel.com>
Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
drivers/mtd/maps/pxa2xx-flash.c
patch
|
blob
|
history
diff --git
a/drivers/mtd/maps/pxa2xx-flash.c
b/drivers/mtd/maps/pxa2xx-flash.c
index 411a17df9fc13ee2fd78d8e54456e18095bdd91f..2a25b6789af4d5633ee7fcadf104fc08e9183928 100644
(file)
--- 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;