mtd: nandsim: Define CONFIG_NANDSIM_MAX_PARTS and use it instead of MAX_MTD_DEVICES
authorBen Hutchings <bhutchings@solarflare.com>
Fri, 29 Jan 2010 20:58:08 +0000 (20:58 +0000)
committerDavid Woodhouse <David.Woodhouse@intel.com>
Thu, 25 Feb 2010 11:39:03 +0000 (11:39 +0000)
commite99e90aef17517d99be8e049b2f5cc563cd6862a
tree3d5c62f96cf9167b48eecec2254193525010dce8
parent677c2aec8cdd5ae33b5fab266941cf6c6dc4d59f
mtd: nandsim: Define CONFIG_NANDSIM_MAX_PARTS and use it instead of MAX_MTD_DEVICES

MAX_MTD_DEVICES is about to be removed.

Signed-off-by: Ben Hutchings <bhutchings@solarflare.com>
Signed-off-by: Artem Bityutskiy <Artem.Bityutskiy@nokia.com>
Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
drivers/mtd/nand/nandsim.c