mtd: onenand: allocate verify buffer in the core
[pandora-kernel.git] / include / linux / mtd / onenand.h
index c9a3c35..9b43268 100644 (file)
@@ -125,6 +125,9 @@ struct onenand_chip {
        flstate_t               state;
        unsigned char           *page_buf;
        unsigned char           *oob_buf;
+#ifdef CONFIG_MTD_ONENAND_VERIFY_WRITE
+       unsigned char           *verify_buf;
+#endif
 
        int                     subpagesize;
        struct nand_ecclayout   *ecclayout;