aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/mtd
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/mtd')
-rw-r--r--drivers/mtd/ubi/ubi.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/mtd/ubi/ubi.h b/drivers/mtd/ubi/ubi.h
index fd19f8d3bce8..dc64c767fd21 100644
--- a/drivers/mtd/ubi/ubi.h
+++ b/drivers/mtd/ubi/ubi.h
@@ -667,6 +667,7 @@ static inline void ubi_ro_mode(struct ubi_device *ubi)
667 if (!ubi->ro_mode) { 667 if (!ubi->ro_mode) {
668 ubi->ro_mode = 1; 668 ubi->ro_mode = 1;
669 ubi_warn("switch to read-only mode"); 669 ubi_warn("switch to read-only mode");
670 ubi_dbg_dump_stack();
670 } 671 }
671} 672}
672 673