Merge tag 'mtd/for-5.3' of git://git.kernel.org/pub/scm/linux/kernel/git/mtd/linux
[platform/kernel/linux-rpi.git] / include / linux / mtd / mtd.h
index 936a3fd..4ca8c1c 100644 (file)
@@ -316,6 +316,12 @@ struct mtd_info {
        int (*_get_device) (struct mtd_info *mtd);
        void (*_put_device) (struct mtd_info *mtd);
 
+       /*
+        * flag indicates a panic write, low level drivers can take appropriate
+        * action if required to ensure writes go through
+        */
+       bool oops_panic_write;
+
        struct notifier_block reboot_notifier;  /* default mode before reboot */
 
        /* ECC status information */