--- zzzz-none-000/linux-3.10.107/drivers/mtd/ubi/ubi-media.h 2017-06-27 09:49:32.000000000 +0000 +++ scorpion-7490-727/linux-3.10.107/drivers/mtd/ubi/ubi-media.h 2021-02-04 17:41:59.000000000 +0000 @@ -92,6 +92,7 @@ */ enum { UBI_VTBL_AUTORESIZE_FLG = 0x01, + UBI_VTBL_AUTORESIZE_FLG_LINUX = 0x02, }; /* @@ -403,8 +404,6 @@ #define UBI_FM_MIN_POOL_SIZE 8 #define UBI_FM_MAX_POOL_SIZE 256 -#define UBI_FM_WL_POOL_SIZE 25 - /** * struct ubi_fm_sb - UBI fastmap super block * @magic: fastmap super block magic number (%UBI_FM_SB_MAGIC) @@ -502,7 +501,7 @@ /* struct ubi_fm_volhdr is followed by one struct ubi_fm_eba records */ /** - * struct ubi_fm_eba - denotes an association beween a PEB and LEB + * struct ubi_fm_eba - denotes an association between a PEB and LEB * @magic: EBA table magic number * @reserved_pebs: number of table entries * @pnum: PEB number of LEB (LEB is the index)