From ddf7bcfa6c5a1d9647046c18e4945f0b0686aec5 Mon Sep 17 00:00:00 2001 From: Heiko Schocher Date: Tue, 15 Jul 2014 16:08:42 +0200 Subject: 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 Cc: Scott Wood Cc: Tom Rini --- include/linux/mtd/mtd.h | 1 + 1 file changed, 1 insertion(+) (limited to 'include/linux') diff --git a/include/linux/mtd/mtd.h b/include/linux/mtd/mtd.h index b7b47570ea5..e6cfd559eb5 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 -- cgit v1.2.3