summaryrefslogtreecommitdiff
path: root/include/linux/mtd/mtd.h
diff options
context:
space:
mode:
authorHeiko Schocher <hs@denx.de>2014-07-15 16:08:42 +0200
committerTom Rini <trini@ti.com>2014-08-25 19:25:56 -0400
commitddf7bcfa6c5a1d9647046c18e4945f0b0686aec5 (patch)
tree5aacb15745d27f8a2a9565b4441f4170817841cc /include/linux/mtd/mtd.h
parentff94bc40af3481d47546595ba73c136de6af6929 (diff)
downloadu-boot-imx-ddf7bcfa6c5a1d9647046c18e4945f0b0686aec5.zip
u-boot-imx-ddf7bcfa6c5a1d9647046c18e4945f0b0686aec5.tar.gz
u-boot-imx-ddf7bcfa6c5a1d9647046c18e4945f0b0686aec5.tar.bz2
mtd, ubi, ubifs: update for the sync with linux v3.14
while playing with the new mtd/ubi/ubifs sync, found some small updates for it: - add del_mtd_partition() to include/linux/mtd/mtd - mtd: add a debug_printf - remove some not used functions Signed-off-by: Heiko Schocher <hs@denx.de> Cc: Scott Wood <scottwood@freescale.com> Cc: Tom Rini <trini@ti.com>
Diffstat (limited to 'include/linux/mtd/mtd.h')
-rw-r--r--include/linux/mtd/mtd.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/mtd/mtd.h b/include/linux/mtd/mtd.h
index b7b4757..e6cfd55 100644
--- a/include/linux/mtd/mtd.h
+++ b/include/linux/mtd/mtd.h
@@ -480,6 +480,7 @@ static inline int mtd_is_bitflip_or_eccerr(int err) {
#ifdef __UBOOT__
/* drivers/mtd/mtdcore.h */
int add_mtd_device(struct mtd_info *mtd);
+int del_mtd_device(struct mtd_info *mtd);
int add_mtd_partitions(struct mtd_info *, const struct mtd_partition *, int);
int del_mtd_partitions(struct mtd_info *);
#endif