[MTD] [MAPS] Extend plat-ram to support a supplied probe type
authorFlorian Fainelli <florian.fainelli@telecomint.eu>
Mon, 3 Mar 2008 17:30:24 +0000 (18:30 +0100)
committerDavid Woodhouse <dwmw2@infradead.org>
Tue, 22 Apr 2008 19:10:10 +0000 (20:10 +0100)
commit757570063a350ee3875c42a6338d29ee09f5af07
tree2a6b9e9353312b4f69d62af5dc052e13dd009fb7
parentca5c23c3b8882d61bf19b7685f2244501902869f
[MTD] [MAPS] Extend plat-ram to support a supplied probe type

This enhances plat-ram to take a map_probes argument in
the platform_data structure which allow plat-ram to support
any direct-mapped device that MTD supports (jedec, cfi, amd ..)

A few items are also fixed:
- Don't panic if probes is 0
- Actually use the partition list that is passed in

Signed-off-by: Florian Fainelli <florian.fainelli@telecomint.eu>
Signed-off-by: Jason Gunthorpe <jgunthorpe@obsidianresearch.com>
Signed-off-by: David Woodhouse <dwmw2@infradead.org>
drivers/mtd/maps/plat-ram.c
include/linux/mtd/plat-ram.h