summaryrefslogtreecommitdiffstats
path: root/drivers/mtd/mtdcore.c
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 /drivers/mtd/mtdcore.c
parentff94bc40af3481d47546595ba73c136de6af6929 (diff)
downloadblackbird-obmc-uboot-ddf7bcfa6c5a1d9647046c18e4945f0b0686aec5.tar.gz
blackbird-obmc-uboot-ddf7bcfa6c5a1d9647046c18e4945f0b0686aec5.zip
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 'drivers/mtd/mtdcore.c')
-rw-r--r--drivers/mtd/mtdcore.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/mtd/mtdcore.c b/drivers/mtd/mtdcore.c
index 796ac0729e..bdb94ce5ad 100644
--- a/drivers/mtd/mtdcore.c
+++ b/drivers/mtd/mtdcore.c
@@ -476,6 +476,8 @@ int add_mtd_device(struct mtd_info *mtd)
the notifier, since we hold the mtd_table_mutex */
list_for_each_entry(not, &mtd_notifiers, list)
not->add(mtd);
+#else
+ pr_debug("mtd: Giving out device %d to %s\n", i, mtd->name);
#endif
mutex_unlock(&mtd_table_mutex);
OpenPOWER on IntegriCloud