UBI: Fastmap: Add new module parameter fm_debug
[deliverable/linux.git] / drivers / mtd / ubi / debug.h
index e99ef37a321eb58f88546f2839155aef1d6936ae..c6ea4431acf3a96528b94893d46f9841fa747250 100644 (file)
@@ -132,4 +132,9 @@ static inline int ubi_dbg_chk_fastmap(const struct ubi_device *ubi)
 {
        return ubi->dbg.chk_fastmap;
 }
+
+static inline void ubi_enable_dbg_chk_fastmap(struct ubi_device *ubi)
+{
+       ubi->dbg.chk_fastmap = 1;
+}
 #endif /* !__UBI_DEBUG_H__ */
This page took 0.025682 seconds and 5 git commands to generate.