|
@@ -473,7 +473,6 @@ struct nand_hw_control {
|
|
|
* @prepad: padding information for syndrome based ECC generators
|
|
|
* @postpad: padding information for syndrome based ECC generators
|
|
|
* @options: ECC specific options (see NAND_ECC_XXX flags defined above)
|
|
|
- * @layout: ECC layout control struct pointer
|
|
|
* @priv: pointer to private ECC control data
|
|
|
* @hwctl: function to control hardware ECC generator. Must only
|
|
|
* be provided if an hardware ECC is available
|
|
@@ -524,7 +523,6 @@ struct nand_ecc_ctrl {
|
|
|
int prepad;
|
|
|
int postpad;
|
|
|
unsigned int options;
|
|
|
- struct nand_ecclayout *layout;
|
|
|
void *priv;
|
|
|
void (*hwctl)(struct mtd_info *mtd, int mode);
|
|
|
int (*calculate)(struct mtd_info *mtd, const uint8_t *dat,
|