UBI: small debugging code optimization
[linux-2.6-block.git] / drivers / mtd / ubi / ubi.h
index 76ec79b156a1bb6ab96c66cf28a76e3685815aea..749007e9f1aae14edac974b56606fa381c22df39 100644 (file)
@@ -443,7 +443,7 @@ struct ubi_device {
        void *peb_buf2;
        struct mutex buf_mutex;
        struct mutex ckvol_mutex;
-#ifdef CONFIG_MTD_UBI_DEBUG
+#ifdef CONFIG_MTD_UBI_DEBUG_PARANOID
        void *dbg_peb_buf;
        struct mutex dbg_buf_mutex;
 #endif