commit | 298e7a6ee2e1c228361367705de603ed9a38f1de | [log] [tgz] |
---|---|---|
author | Miquel Raynal <miquel.raynal@bootlin.com> | Wed Feb 28 20:51:54 2018 +0100 |
committer | Maxime Ripard <maxime.ripard@bootlin.com> | Tue Apr 03 12:11:38 2018 +0200 |
tree | b30fa7951dd8e4ffb623779541769c7cb7cb1330 | |
parent | ebeeb80a3981d8c6925d2e5d0d292d91f26c8957 [diff] |
spl: nand: sunxi: declare the ecc_bytes array globally Move the ecc_bytes array out of nand_max_ecc_strength() for future use by nand_read_page(). Signed-off-by: Miquel Raynal <miquel.raynal@bootlin.com> Acked-by: Boris Brezillon <boris.brezillon@bootlin.com> Signed-off-by: Maxime Ripard <maxime.ripard@bootlin.com>