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 --- drivers/mtd/mtdpart.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'drivers/mtd/mtdpart.c') diff --git a/drivers/mtd/mtdpart.c b/drivers/mtd/mtdpart.c index d20b857..3dc47b3 100644 --- a/drivers/mtd/mtdpart.c +++ b/drivers/mtd/mtdpart.c @@ -572,6 +572,7 @@ out_register: return slave; } +#ifndef __UBOOT__ int mtd_add_partition(struct mtd_info *master, const char *name, long long offset, long long length) { @@ -651,6 +652,7 @@ int mtd_del_partition(struct mtd_info *master, int partno) return ret; } EXPORT_SYMBOL_GPL(mtd_del_partition); +#endif /* * This function, given a master MTD object and a partition table, creates -- cgit v1.1