--- zzzz-none-000/linux-2.6.32.61/include/linux/mtd/mtd.h 2013-06-10 09:43:48.000000000 +0000 +++ virian-300e-630/linux-2.6.32.61/include/linux/mtd/mtd.h 2011-07-20 07:23:51.000000000 +0000 @@ -46,6 +46,10 @@ u_long priv; u_char state; struct erase_info *next; + + u8 *erase_buf; + u32 erase_buf_ofs; + bool partial_start; }; struct mtd_erase_region_info { @@ -241,6 +245,9 @@ struct device dev; int usecount; + int (*refresh_device)(struct mtd_info *mtd); + struct mtd_info *split; + /* If the driver is something smart, like UBI, it may need to maintain * its own reference counting. The below functions are only for driver. * The driver may register its callbacks. These callbacks are not