diff options
author | Jamie Iles <jamie@jamieiles.com> | 2011-05-23 05:23:43 -0400 |
---|---|---|
committer | David Woodhouse <David.Woodhouse@intel.com> | 2011-05-24 21:25:35 -0400 |
commit | 6a8a98b22b10f1560d5f90aded4a54234b9b2724 (patch) | |
tree | c0757487bad9e1774bebc6fff935e275f036809a /include/linux | |
parent | eea72d5fdf59879edb2c6639b0b7cc385e0df646 (diff) |
mtd: kill CONFIG_MTD_PARTITIONS
Now that none of the drivers use CONFIG_MTD_PARTITIONS we can remove
it from Kconfig and the last remaining uses.
Signed-off-by: Jamie Iles <jamie@jamieiles.com>
Signed-off-by: Artem Bityutskiy <Artem.Bityutskiy@nokia.com>
Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
Diffstat (limited to 'include/linux')
-rw-r--r-- | include/linux/mtd/mtd.h | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/include/linux/mtd/mtd.h b/include/linux/mtd/mtd.h index 1e3887bc105c..2541fb848daa 100644 --- a/include/linux/mtd/mtd.h +++ b/include/linux/mtd/mtd.h | |||
@@ -353,15 +353,7 @@ int default_mtd_readv(struct mtd_info *mtd, struct kvec *vecs, | |||
353 | 353 | ||
354 | void *mtd_kmalloc_up_to(const struct mtd_info *mtd, size_t *size); | 354 | void *mtd_kmalloc_up_to(const struct mtd_info *mtd, size_t *size); |
355 | 355 | ||
356 | #ifdef CONFIG_MTD_PARTITIONS | ||
357 | void mtd_erase_callback(struct erase_info *instr); | 356 | void mtd_erase_callback(struct erase_info *instr); |
358 | #else | ||
359 | static inline void mtd_erase_callback(struct erase_info *instr) | ||
360 | { | ||
361 | if (instr->callback) | ||
362 | instr->callback(instr); | ||
363 | } | ||
364 | #endif | ||
365 | 357 | ||
366 | /* | 358 | /* |
367 | * Debugging macro and defines | 359 | * Debugging macro and defines |