[MTD] Remove option for add_mtd_partitions() to not register partitions.
authorDavid Woodhouse <David.Woodhouse@intel.com>
Sun, 5 Apr 2009 15:23:44 +0000 (08:23 -0700)
committerDavid Woodhouse <David.Woodhouse@intel.com>
Tue, 26 May 2009 15:45:44 +0000 (16:45 +0100)
commitb90cf6681f4f6263920616e7ca2fd09130e4143a
treea42bb320a9fa457141f23b804389c8625677ada7
parent4704a78472cd5c58f6b4c4f8c04d32de2da3f20a
[MTD] Remove option for add_mtd_partitions() to not register partitions.

This breaks the dilnetpc map driver, but it could be fixed not to use
that option. We want to simplify the partition handling, and this is a
step towards that.

Remove superfluous 'index' field from private struct mtd_part too, while
we're at it.

Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
drivers/mtd/mtdpart.c
include/linux/mtd/partitions.h