diff options
Diffstat (limited to 'include')
-rw-r--r-- | include/linux/mtd/partitions.h | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/include/linux/mtd/partitions.h b/include/linux/mtd/partitions.h index 3a6f0372fc96..08c9c7b8b8e2 100644 --- a/include/linux/mtd/partitions.h +++ b/include/linux/mtd/partitions.h | |||
@@ -83,12 +83,6 @@ static inline int of_mtd_parse_partitions(struct device *dev, | |||
83 | } | 83 | } |
84 | #endif | 84 | #endif |
85 | 85 | ||
86 | #ifdef CONFIG_MTD_CMDLINE_PARTS | ||
87 | static inline int mtd_has_cmdlinepart(void) { return 1; } | ||
88 | #else | ||
89 | static inline int mtd_has_cmdlinepart(void) { return 0; } | ||
90 | #endif | ||
91 | |||
92 | int mtd_is_partition(struct mtd_info *mtd); | 86 | int mtd_is_partition(struct mtd_info *mtd); |
93 | int mtd_add_partition(struct mtd_info *master, char *name, | 87 | int mtd_add_partition(struct mtd_info *master, char *name, |
94 | long long offset, long long length); | 88 | long long offset, long long length); |