diff options
author | David Woodhouse <David.Woodhouse@intel.com> | 2009-04-05 08:23:44 -0700 |
---|---|---|
committer | David Woodhouse <David.Woodhouse@intel.com> | 2009-05-26 16:45:44 +0100 |
commit | b90cf6681f4f6263920616e7ca2fd09130e4143a (patch) | |
tree | a42bb320a9fa457141f23b804389c8625677ada7 /include/linux/mtd/partitions.h | |
parent | 4704a78472cd5c58f6b4c4f8c04d32de2da3f20a (diff) | |
download | linux-stable-b90cf6681f4f6263920616e7ca2fd09130e4143a.tar.gz linux-stable-b90cf6681f4f6263920616e7ca2fd09130e4143a.tar.bz2 linux-stable-b90cf6681f4f6263920616e7ca2fd09130e4143a.zip |
[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>
Diffstat (limited to 'include/linux/mtd/partitions.h')
-rw-r--r-- | include/linux/mtd/partitions.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/include/linux/mtd/partitions.h b/include/linux/mtd/partitions.h index 7535a74083b9..af6dcb992bc3 100644 --- a/include/linux/mtd/partitions.h +++ b/include/linux/mtd/partitions.h @@ -40,7 +40,6 @@ struct mtd_partition { uint64_t offset; /* offset within the master MTD space */ uint32_t mask_flags; /* master MTD flags to mask out for this partition */ struct nand_ecclayout *ecclayout; /* out of band layout for this partition (NAND only)*/ - struct mtd_info **mtdp; /* pointer to store the MTD object */ }; #define MTDPART_OFS_NXTBLK (-2) |